Freigeben über


ConnectTimeout-Eigenschaft

Gets or sets the time interval allowed for Microsoft Search to try a connection to an instance of SQL Server before timing out.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property ConnectTimeout As TimeSpan
    Get
    Set
'Usage
Dim instance As FullTextService
Dim value As TimeSpan

value = instance.ConnectTimeout

instance.ConnectTimeout = value
[SfcPropertyAttribute]
public TimeSpan ConnectTimeout { get; set; }
[SfcPropertyAttribute]
public:
property TimeSpan ConnectTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
[<SfcPropertyAttribute>]
member ConnectTimeout : TimeSpan with get, set
function get ConnectTimeout () : TimeSpan
function set ConnectTimeout (value : TimeSpan)

Eigenschaftenwert

Typ: System. . :: . .TimeSpan
A TimeSpan system object value that specifies the connection time-out interval allowed to try a connection to an instance of SQL Server.