Gets or sets the wait time in seconds before terminating an attempt to execute a command and generating an error.
Visual Basic
Public Overrides Property CommandTimeout As Integer
C#
public override int CommandTimeout { get; set; }
The default value is 30 seconds.
A value of 0 indicates no limit. This should be avoided because it may cause the attempt to execute a command to wait indefinitely.