MultiServerSqlConnectionInfo.ConnectionTimeout Property
Gets or sets the connection timeout interval to the server, in seconds.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Public Property ConnectionTimeout As Integer
Get
Set
'Usage
Dim instance As MultiServerSqlConnectionInfo
Dim value As Integer
value = instance.ConnectionTimeout
instance.ConnectionTimeout = value
public int ConnectionTimeout { get; set; }
public:
property int ConnectionTimeout {
int get ();
void set (int value);
}
member ConnectionTimeout : int with get, set
function get ConnectionTimeout () : int
function set ConnectionTimeout (value : int)
Property Value
Type: System.Int32
An Int specifying the amount of time, in seconds, before a connection to the server will time out. If 0, the timeout interval is infinite.