Exportar (0) Imprimir
Expandir Tudo
Expandir Minimizar

AppRoot Metabase Property

Atualizado: agosto de 2005

Aplica-se a: 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.

ImportantImportante
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

nulo

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.

Isso foi útil para você?
(1500 caracteres restantes)
Agradecemos os seus comentários

Contribuições da comunidade

ADICIONAR
A Microsoft está realizando uma pesquisa online para saber sua opinião sobre o site do MSDN. Se você optar por participar, a pesquisa online lhe será apresentada quando você sair do site do MSDN.

Deseja participar?
Mostrar:
© 2014 Microsoft