ServerStates

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

Enumerates values for the State property of server objects.

Constant

Description

stateConnected

The attempt to connect to the server succeeded.

stateFailed

The attempt to connect to the server failed.

stateUnknown

The application has disconnected from the server or has not yet connected to the server.

請參閱

參考