Поделиться через


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);
}
/** @property */
public int get_CommandTimeout ()

/** @property */
public void set_CommandTimeout (int value)
public function get CommandTimeout () : int

public function set CommandTimeout (value : int)

Remarks

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

See Also

Reference

ConnectionContextElement Class
ConnectionContextElement Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration Namespace