# C1.ImportServices.ReportExecution4.ReportExecutionServiceSoapClient.BeginSetExecutionCredentials2

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_ImportServices_ReportExecution4_ReportExecutionServiceSoapClient_BeginSetExecutionCredentials2_" data-uid="C1.ImportServices.ReportExecution4.ReportExecutionServiceSoapClient.BeginSetExecutionCredentials2*">BeginSetExecutionCredentials2 Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_ImportServices_ReportExecution4_ReportExecutionServiceSoapClient_BeginSetExecutionCredentials2_" data-uid="C1.ImportServices.ReportExecution4.ReportExecutionServiceSoapClient.BeginSetExecutionCredentials2*"></a>
<h4 id="C1_ImportServices_ReportExecution4_ReportExecutionServiceSoapClient_BeginSetExecutionCredentials2_C1_ImportServices_ReportExecution4_ExecutionHeader_C1_ImportServices_ReportExecution4_TrustedUserHeader_C1_ImportServices_ReportExecution4_DataSourceCredentials___System_AsyncCallback_System_Object_" data-uid="C1.ImportServices.ReportExecution4.ReportExecutionServiceSoapClient.BeginSetExecutionCredentials2(C1.ImportServices.ReportExecution4.ExecutionHeader,C1.ImportServices.ReportExecution4.TrustedUserHeader,C1.ImportServices.ReportExecution4.DataSourceCredentials[],System.AsyncCallback,System.Object)">BeginSetExecutionCredentials2(ExecutionHeader, TrustedUserHeader, DataSourceCredentials[], AsyncCallback, object)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IAsyncResult BeginSetExecutionCredentials2(ExecutionHeader ExecutionHeader, TrustedUserHeader TrustedUserHeader, DataSourceCredentials[] Credentials, AsyncCallback callback, object asyncState)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function BeginSetExecutionCredentials2(ExecutionHeader As ExecutionHeader, TrustedUserHeader As TrustedUserHeader, Credentials As DataSourceCredentials(), callback As AsyncCallback, asyncState As Object) As IAsyncResult</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.ImportServices.ReportExecution4.ExecutionHeader.html">ExecutionHeader</a></td>
      <td><span class="parametername">ExecutionHeader</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportExecution4.TrustedUserHeader.html">TrustedUserHeader</a></td>
      <td><span class="parametername">TrustedUserHeader</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportExecution4.DataSourceCredentials.html">DataSourceCredentials</a>[]</td>
      <td><span class="parametername">Credentials</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.asynccallback">AsyncCallback</a></td>
      <td><span class="parametername">callback</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">asyncState</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iasyncresult">IAsyncResult</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
