# C1.Ssrs.ReportSession.Open

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Ssrs_ReportSession_Open_" data-uid="C1.Ssrs.ReportSession.Open*">Open Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Ssrs_ReportSession_Open_" data-uid="C1.Ssrs.ReportSession.Open*"></a>
<h4 id="C1_Ssrs_ReportSession_Open_C1_Ssrs_ReportAddressBase_System_Threading_CancellationToken_" data-uid="C1.Ssrs.ReportSession.Open(C1.Ssrs.ReportAddressBase,System.Threading.CancellationToken)">Open(ReportAddressBase, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Loads a report, this report should be called before calling any other methods of the <a class="xref" href="C1.Ssrs.ReportSession.html">ReportSession</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Open(ReportAddressBase reportAddress, CancellationToken cancellationToken)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Open(reportAddress As ReportAddressBase, cancellationToken As CancellationToken)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Ssrs.ReportAddressBase.html">ReportAddressBase</a></td>
      <td><span class="parametername">reportAddress</span></td>
      <td><p><a class="xref" href="C1.Ssrs.ReportSession.ReportAddress.html#C1_Ssrs_ReportSession_ReportAddress">ReportAddress</a> object specifies location of the report on the server.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
      <td><span class="parametername">cancellationToken</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a> that can be used to cancel an action.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
