[This is preliminary documentation and subject to change]

### AspEnableApplicationRestart

This metabase property determines whether an ASP application can be automatically restarted. There are two ways in which an application can be restarted. IIS 4.0 can call the application's Global.asa file; this will immediately cause the application to restart if the AspEnableApplicationRestart property is set to TRUE.

Important When this property if toggled from FALSE to TRUE, the application immediately restarts.

IIS also provides an ADSI method, AspAppRestart, which can be used to restart the application.

Attribute Name | Attribute Value
Data Type | BOOL
Attributes | INHERIT
Default Value | TRUE
MetaFlagsEx | CACHE_PROPERTY_MODIFIED
User Type | ASP_MD_UT_APP
StartingNumber |
EndingNumber | 0
ID | 7027

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type
/LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer
/LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer
/LM/W3SVC | IIsWebService
/LM/W3SVC/1/ROOT | IIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISAdmin | IIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISHelp | IIsWebVirtualDir

### IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier | MD_ASP_ENABLEAPPLICATIONRESTART
Data type | BOOL
User type | ASP_MD_UT_APP

Related Topics

AspAppRestart

© 1997-2001 Microsoft Corporation. All rights reserved.