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.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
public int CommandTimeout { get; set; }
public:
property int CommandTimeout {
int get();
void set(int value);
}
member CommandTimeout : int with get, set
Public Property CommandTimeout As Integer
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.
See Also
DbCommand
ConnectionContext Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top