# C1.AdoNet.ServiceNow.C1ServiceNowCommand.CommandTimeout

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_AdoNet_ServiceNow_C1ServiceNowCommand_CommandTimeout_" data-uid="C1.AdoNet.ServiceNow.C1ServiceNowCommand.CommandTimeout*">CommandTimeout Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_AdoNet_ServiceNow_C1ServiceNowCommand_CommandTimeout_" data-uid="C1.AdoNet.ServiceNow.C1ServiceNowCommand.CommandTimeout*"></a>
<h4 id="C1_AdoNet_ServiceNow_C1ServiceNowCommand_CommandTimeout" data-uid="C1.AdoNet.ServiceNow.C1ServiceNowCommand.CommandTimeout">CommandTimeout</h4>
<div class="markdown level1 summary"><p>Gets or sets the wait time before terminating the attempt to execute a command and generating an error.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override int CommandTimeout { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Property CommandTimeout As Integer</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.common.dbcommand.commandtimeout">DbCommand.CommandTimeout</a></div>
</div>
