Exportar (0) Imprimir
Expandir Tudo

ServerCommand Metabase Property

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 Name Attribute 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

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 Path IIS Admin Object Type

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM/MSFTPSVC

IIsFtpService

Bitmask Values

 

Value Description

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.

Isso foi útil para você?
(1500 caracteres restantes)
Agradecemos os seus comentários

Contribuições da comunidade

Mostrar:
© 2014 Microsoft