Dela via


SfcConnection.ConnectTimeout Property

Gets or sets the connection time-out period in seconds.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public MustOverride Property ConnectTimeout As Integer
    Get
    Set
'Usage
Dim instance As SfcConnection
Dim value As Integer

value = instance.ConnectTimeout

instance.ConnectTimeout = value
public abstract int ConnectTimeout { get; set; }
public:
virtual property int ConnectTimeout {
    int get () abstract;
    void set (int value) abstract;
}
abstract ConnectTimeout : int with get, set
abstract function get ConnectTimeout () : int
abstract function set ConnectTimeout (value : int)

Property Value

Type: System.Int32
The connection time-out period in seconds.