Gets or sets the number of seconds to allow the query to run before timing out.
Visual Basic (Declaration) | |
---|---|
Public Property Timeout As System.Integer |
C# | |
---|---|
public System.int Timeout {get; set;} |
Property Value
An Int32 indicating the number of seconds to allow the query to run before timing out.
The Timeout value must be nonnegative.
If the value for the Timeout property is omitted or is zero, the query does not time out.
The maximum value is 2147483647 seconds.