This property allows an application to give the server commands to stop, start, pause, or continue. Applications can test the property ServerState to determine if the server has responded to a command issued by use of the property MD_SERVER_COMMAND.
Default value |
Empty |
|---|---|
Inheritance |
Inheritable |
Data type |
DWORD |
User type |
IIS_MD_UT_SERVER |
Bitmask Flags
This single property contains the following file access permission flags:
Constant |
Value |
Description |
|---|---|---|
MD_SERVER_COMMAND_START |
0x00000001 |
Send start command. |
MD_SERVER_COMMAND_STOP |
0x00000002 |
Send stop command. |
MD_SERVER_COMMAND_PAUSE |
0x00000003 |
Send pause command. |
MD_SERVER_COMMAND_CONTINUE |
0x00000004 |
Send continue command. |
Metabase Keys
This property is available at the following metabase keys:
Metabase Path |
Key Type |
|---|---|
/LM/MSFTPSVC/ n |
|
/LM/W3SVC/ n |
Remarks
If the server encounters an error while changing states, the Win32Error property will be set to the appropriate failure code.
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS
Header: Declared in IIScnfg.h.