ConnectTimeout Property (SQL-DMO)

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

Applies To

FullTextService Object

Syntax

object.ConnectTimeout [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Positive, long integer specifying a number of seconds

Remarks

The Microsoft Search service must connect to an enabled SQL Server installation 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 by using the ConnectTimeout property.


Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetConnectTimeout(LPLONG pRetVal);

HRESULT SetConnectTimeout(long NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.