Freigeben über


ConnectTimeout Property

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

The ConnectTimeout property specifies a time interval in seconds used by the Microsoft Search service when a connection is attempted to an instance of Microsoft SQL Server version enabled for full-text search.

Syntax

object
.ConnectTimeout [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A 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);

Hinweise

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

The default value is 20 seconds.

ms142530.note(de-de,SQL.90).gifHinweis:
The Microsoft Search service must be running on the referenced server before the connection time-out value is altered using the ConnectTimeout property.

Applies To:

FullTextService Object

LinkedServer2 Object