Compartir a través de


AppRoot Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The AppRoot property contains the metabase path to the application root. For example, the metabase path for the application root of your Default Web Site is /LM/W3SVC/1/ROOT. To configure a key as an application root, use the application management methods of the IIsWebVirtualDir and IIsWebDirectory objects.

Important

Because this property is internally configured by IIS, you should consider it to be read-only. Do not configure this property.

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_ROOT

Attributes

INHERIT

Default Value

null

MetaFlagsEx

CACHE_PROPERTY_CLEARED

User Type

IIS_MD_UT_FILE

ID

2103

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.