# C1.DataConnector.AdoNet.C1CommandBase.SupportDelete

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_DataConnector_AdoNet_C1CommandBase_SupportDelete_" data-uid="C1.DataConnector.AdoNet.C1CommandBase.SupportDelete*">SupportDelete Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_DataConnector_AdoNet_C1CommandBase_SupportDelete_" data-uid="C1.DataConnector.AdoNet.C1CommandBase.SupportDelete*"></a>
<h4 id="C1_DataConnector_AdoNet_C1CommandBase_SupportDelete_C1_DataConnector_DeleteStatement_" data-uid="C1.DataConnector.AdoNet.C1CommandBase.SupportDelete(C1.DataConnector.DeleteStatement)">SupportDelete(DeleteStatement)</h4>
<div class="markdown level1 summary"><p>Virtual method to check whether or not <code class="paramref">deleteStatement</code> can be executed directly
on the server pointed by the connection used by this command.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual bool SupportDelete(DeleteStatement deleteStatement)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function SupportDelete(deleteStatement As DeleteStatement) As Boolean</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.DataConnector/C1.DataConnector.DeleteStatement.html">DeleteStatement</a></td>
      <td><span class="parametername">deleteStatement</span></td>
      <td><p>The insert statement.</p>
</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.boolean">bool</a></td>
      <td><p>A boolean indicating if <code class="paramref">deleteStatement</code> can be executed directly on the server.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
