共用方式為


FullTextService.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.

範例

實作全文檢索搜尋

請參閱

參考

FullTextService 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

全文檢索搜尋概觀

CREATE FULLTEXT INDEX (Transact-SQL)

CREATE FULLTEXT CATALOG (Transact-SQL)