# C1.DataCollection.ISupportConnection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataCollection_ISupportConnection" data-uid="C1.DataCollection.ISupportConnection" class="text-break">ISupportConnection Interface
</h1>
  <div class="markdown level0 summary"><p>Specifies a calling contract for collections that needs a connection to the source.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataCollection.html">C1.DataCollection</a></h6>
  <h6><strong>Assembly</strong>: C1.DataCollection.dll</h6>
  <h5 id="C1_DataCollection_ISupportConnection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISupportConnection</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ISupportConnection</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_ISupportConnection_ConnectionState" data-uid="C1.DataCollection.ISupportConnection.ConnectionState">
          <a class="xref" href="C1.DataCollection.ISupportConnection.ConnectionState.html#C1_DataCollection_ISupportConnection_ConnectionState">ConnectionState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the state of the connection to the source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_ISupportConnection_ConnectAsync_System_Threading_CancellationToken_" data-uid="C1.DataCollection.ISupportConnection.ConnectAsync(System.Threading.CancellationToken)">
          <a class="xref" href="C1.DataCollection.ISupportConnection.ConnectAsync.html#C1_DataCollection_ISupportConnection_ConnectAsync_System_Threading_CancellationToken_">ConnectAsync(CancellationToken)</a>
        </td>
        <td class="markdown level1 summary"><p>Connects the collection to the source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportConnection_DisconnectAsync_System_Threading_CancellationToken_" data-uid="C1.DataCollection.ISupportConnection.DisconnectAsync(System.Threading.CancellationToken)">
          <a class="xref" href="C1.DataCollection.ISupportConnection.DisconnectAsync.html#C1_DataCollection_ISupportConnection_DisconnectAsync_System_Threading_CancellationToken_">DisconnectAsync(CancellationToken)</a>
        </td>
        <td class="markdown level1 summary"><p>Disconnects the collection from the source.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
