See Also

DbCommandBase Class  | DbCommandBase Members

Language

Visual Basic

C#

Show All

See AlsoLanguagesDevart.DataSend comments on this topic.

CommandTimeout Property

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;}

Return Type

The time (in seconds) to wait for the command to execute. The default value is 30 seconds.

Remarks

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.

See Also

DbCommandBase Class  | DbCommandBase Members

 

 


© 2002 - 2013 Devart. All Rights Reserved.