MD_SERVER_STATE

This identifier indicates the current state of the server instance.

Attributes

Data type DWORD
Default inheritance Inheritable
User type IIS_MD_UT_SERVER

Values

Default Value
Not applicable
Constant Value Description
MD_SERVER_STATE_STARTING 0x00000001 Server starting
MD_SERVER_STATE_STARTED 0x00000002 Server started
MD_SERVER_STATE_STOPPING 0x00000003 Server stopping
MD_SERVER_STATE_STOPPED 0x00000004 Server stopped
MD_SERVER_STATE_PAUSING 0x00000005 Server pausing
MD_SERVER_STATE_PAUSED 0x00000006 Server paused
MD_SERVER_STATE_CONTINUING 0x00000007 Server continuing

Metabase Keys

This identifier is available at the following metabase keys:

Metabase Path Key Type
/LM/MSFTPSVC/n IIsFtpServer
/LM/W3SVC/n IIsWebServer

Remarks

This identifier should be considered read-only. To send commands to the server, use the MD_SERVER_COMMAND identifier.

See Also

ServerState, MD_SERVER_COMMAND