내보내기(0) 인쇄
모두 확장

ServerCommand Metabase Property

업데이트 날짜: 2005년 8월

적용 대상: Windows Server 2003, Windows Server 2003 with SP1

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

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 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.

이 정보가 도움이 되었습니까?
(1500자 남음)
의견을 주셔서 감사합니다.

커뮤니티 추가 항목

표시:
© 2014 Microsoft