ServerCommand Metabase Property (IIS 6.0)

The ServerCommand property can be set to start, stop, continue, or pause a site. The commands, and the corresponding codes, are listed in the Bitmask Values table.

Attribute NameAttribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_SERVER_COMMAND

Attributes

VOLATILE

Default Value

null

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

1012

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase PathIIS Admin Object Type

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM/MSFTPSVC

IIsFtpService

Bitmask Values

ValueDescription

1

Start site.

2

Stop site.

4

Pause site.

8

Continue site.

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.



© 2014 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies
Microsoft