AppPoolId Metabase Property
Applies To: Windows Server 2003, Windows Server 2003 with SP1
The AppPoolId property specifies the application pool where the application is routed.
Note
If an AppPoolId is not specified for a particular application; the application inherits the AppPoolId from a parent key that has the AppPoolId property set. If none of the application’s parents have this property set, the application pool inherits this setting from the site level, or from the World Wide Web Publishing Service (WWW service) level. If no valid AppPoolId is available through inheritance, the application pool fails and an error is written in the event log.
Attribute Name | Attribute Value |
---|---|
XML Data Type |
String |
WMI Data Type |
String |
ADSI Data Type |
String |
ABO Data Type |
String |
ABO Metabase Identifier |
MD_APP_APPPOOL_ID |
Attributes |
INHERIT |
Default Value |
null |
MetaFlagsEx |
CACHE_PROPERTY_MODIFIED |
User Type |
IIS_MD_UT_SERVER |
ID |
9101 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name |
IIsWebVirtualDir |
/LM/W3SVC/n |
IIsWebServer |
/LM/W3SVC |
IIsWebService |
/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name |
IIsWebDirectory |
Code Example
For general code examples, see Code Examples to Configure Metabase Properties.