AppPoolCommand Metabase Property (IIS 6.0)

The AppPoolCommand property allows an application to send commands to the application pool to start or stop the application pool. Applications can read the value of the AppPoolState Metabase Property to determine if the application pool has responded to the command issued by the use of this property.

Attribute NameAttribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_APPPOOL_COMMAND

Attributes

VOLATILE

Default Value

null

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

9026

Configurable Locations

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

Metabase PathIIS Admin Object Type

/LM/W3SVC/AppPools/DefaultAppPool /LM/W3SVC/AppPools/DefaultAppPool/application_pool_name

IIsApplicationPool

Values

ConstantValueDescription

MD_APPPOOL_COMMAND_START

0x00000001

Starts the application pool.

MD_APPPOOL_COMMAND_STOP

0x00000002

Stops the application pool.

Code Example

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



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