Partilhar via


ServerStates

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

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.

See Also

Reference

clsServer

Help and Information

Getting SQL Server 2005 Assistance