다음을 통해 공유


ConnectTimeout 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ConnectTimeout As TimeSpan
    Get
    Set
‘사용 방법
Dim instance As FullTextService
Dim value As TimeSpan

value = instance.ConnectTimeout

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

속성 값

유형: 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.