| Devart.Common Namespace > DbCommandBase Class : CommandTimeout Property (DbCommandBase) |
Gets or sets the wait time before terminating an attempt to execute a command and generating an error.
[Visual Basic]
Overrides Public Property CommandTimeout As Integer [C#]
public override int CommandTimeout {get; set;}The time (in seconds) to wait for the command to execute. The default value is 30 seconds.
A value of zero (0) specifies no limit to the wait time, rather than no wait time, and therefore should be avoided.
Available in Direct mode only. Not available under .NET Compact Framework.
DbCommandBase Class | DbCommandBase Members
© 2002 - 2013 Devart. All Rights Reserved.