ConnectTimeout Property

SQL-DMO

SQL-DMO

ConnectTimeout Property

The ConnectTimeout property specifies a time interval used by the Microsoft Search service when attempting a connection to an instance of Microsoft® SQL Server™ version 7.0 enabled for full-text search.

Applies To
FullTextService Object LinkedServer2 Object
Syntax

object.ConnectTimeout [= value]

object

Expression that evaluates to an object in the Applies To list

value

Positive, long integer that specifies a number of seconds

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetConnectTimeout(LPLONG pRetVal);

HRESULT SetConnectTimeout(long NewValue);

Remarks

The Microsoft Search service must connect to an enabled instance of SQL Server 7.0 to populate full-text catalogs.

The default value is 20.

Note  The Microsoft Search service must be running on the referenced server before the connection time-out value is altered using the ConnectTimeout property. The ConnectTimeout property can be used with SQL Server 2000 and SQL Server 7.0.