Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the time (in seconds) that elapses before the command that executes the batch statement times out.
Namespace: Microsoft.Data.Schema.UnitTesting
Assembly: Microsoft.Data.Schema.UnitTesting (in Microsoft.Data.Schema.UnitTesting.dll)
Syntax
'Declaration
Public Property CommandTimeout As Integer
public int CommandTimeout { get; set; }
public:
property int CommandTimeout {
int get ();
void set (int value);
}
member CommandTimeout : int with get, set
function get CommandTimeout () : int
function set CommandTimeout (value : int)
Property Value
Type: System.Int32
The number of seconds before timeout. The default is 30.
Remarks
Use this property to configure the DbCommand that is used to execute the Transact-SQL statement or statements.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.