Share via


MultiServerSqlConnectionInfo.ExecutionTimeout Property

Gets or sets the execution timeout interval for a Transact-SQL batch, in seconds.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Public Property ExecutionTimeout As Integer
    Get
    Set
'Usage
Dim instance As MultiServerSqlConnectionInfo
Dim value As Integer

value = instance.ExecutionTimeout

instance.ExecutionTimeout = value
public int ExecutionTimeout { get; set; }
public:
property int ExecutionTimeout {
    int get ();
    void set (int value);
}
member ExecutionTimeout : int with get, set
function get ExecutionTimeout () : int
function set ExecutionTimeout (value : int)

Property Value

Type: System.Int32
An Int specifying the amount of time, in seconds, before an idle execution operation will time out. If 0, the timeout interval is infinite.