Udostępnij przez


FullTextService.ConnectTimeout Property

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

'Deklaracja
<SfcPropertyAttribute> _
Public Property ConnectTimeout As TimeSpan
[SfcPropertyAttribute] 
public TimeSpan ConnectTimeout { get; set; }
[SfcPropertyAttribute] 
public:
property TimeSpan ConnectTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_ConnectTimeout ()

/** @property */
public void set_ConnectTimeout (TimeSpan value)
public function get ConnectTimeout () : TimeSpan

public function set ConnectTimeout (value : TimeSpan)

Property Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.