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)