# C1.ImportServices.ReportingService4.ReportingService2005SoapClient.PrepareQuery

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_ImportServices_ReportingService4_ReportingService2005SoapClient_PrepareQuery_" data-uid="C1.ImportServices.ReportingService4.ReportingService2005SoapClient.PrepareQuery*">PrepareQuery Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_ImportServices_ReportingService4_ReportingService2005SoapClient_PrepareQuery_" data-uid="C1.ImportServices.ReportingService4.ReportingService2005SoapClient.PrepareQuery*"></a>
<h4 id="C1_ImportServices_ReportingService4_ReportingService2005SoapClient_PrepareQuery_C1_ImportServices_ReportingService4_BatchHeader_C1_ImportServices_ReportingService4_DataSource_C1_ImportServices_ReportingService4_DataSetDefinition_C1_ImportServices_ReportingService4_DataSetDefinition__System_Boolean__System_String____" data-uid="C1.ImportServices.ReportingService4.ReportingService2005SoapClient.PrepareQuery(C1.ImportServices.ReportingService4.BatchHeader,C1.ImportServices.ReportingService4.DataSource,C1.ImportServices.ReportingService4.DataSetDefinition,C1.ImportServices.ReportingService4.DataSetDefinition@,System.Boolean@,System.String[]@)">PrepareQuery(BatchHeader, DataSource, DataSetDefinition, out DataSetDefinition, out bool, out string[])</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 ServerInfoHeader PrepareQuery(BatchHeader BatchHeader, DataSource DataSource, DataSetDefinition DataSet, out DataSetDefinition DataSettings, out bool Changed, out string[] ParameterNames)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function PrepareQuery(BatchHeader As BatchHeader, DataSource As DataSource, DataSet As DataSetDefinition, ByRef DataSettings As DataSetDefinition, ByRef Changed As Boolean, ByRef ParameterNames As String()) As ServerInfoHeader</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.ReportingService4.BatchHeader.html">BatchHeader</a></td>
      <td><span class="parametername">BatchHeader</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportingService4.DataSource.html">DataSource</a></td>
      <td><span class="parametername">DataSource</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportingService4.DataSetDefinition.html">DataSetDefinition</a></td>
      <td><span class="parametername">DataSet</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ImportServices.ReportingService4.DataSetDefinition.html">DataSetDefinition</a></td>
      <td><span class="parametername">DataSettings</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">Changed</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</td>
      <td><span class="parametername">ParameterNames</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="C1.ImportServices.ReportingService4.ServerInfoHeader.html">ServerInfoHeader</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
