ConnectionContextElement.CommandTimeout Property

Gets or sets the time (in seconds) that elapses before the command that executes the T-SQL statement times out.

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration
Assembly:  Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.dll)

Syntax

'Declaration
Public Property CommandTimeout As Integer
'Usage
Dim instance As ConnectionContextElement
Dim value As Integer

value = instance.CommandTimeout

instance.CommandTimeout = value
public int CommandTimeout { get; set; }
public:
property int CommandTimeout {
    int get ();
    void set (int value);
}
public function get CommandTimeout () : int
public function set CommandTimeout (value : int)

Property Value

Type: System.Int32

Remarks

The default value is 30 seconds. This command timeout is used to populate the CommandTimeout property.

Permissions

See Also

Reference

ConnectionContextElement Class

ConnectionContextElement Members

Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration Namespace