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.

请参阅

参考