共用方式為


AppPoolId

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.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

STRING

ABO Data Type

STRING_METADATA

Schema Default

null

Internal Default

DefaultAppPool

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

9101

Friendly ID

MD_APP_APPPOOL_ID

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

Configurable Locations

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

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC/n/ROOT/physical_directory_name

/LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/W3SVC/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

Flags

There are no flags for this property.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also