[This is preliminary documentation and subject to change]

ServerAutoStart

This property indicates if the server instance should start automatically when the service is started.

This property is reset automatically when a server instance is stopped or restarted, to maintain state across service restarts. For example, if a server is stopped, the value of this property is set to FALSE so that if the service is stopped and restarted, the server will remain stopped. Likewise, if a server is started, this property is set to TRUE, allowing the server to remain running whenever the service is running.

Attribute NameAttribute Value
Data TypeBOOL
AttributesINHERIT
Default ValueTRUE
MetaFlagsExCACHE_PROPERTY_MODIFIED | WAS_NOTIFICATION
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber0
ID1017

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/MSFTPSVC/Info/Templates/Public FTP SiteIIsFtpServer
/LM/MSFTPSVCIIsFtpService
/LM/NNTPSVC/1IIsNntpServer
/LM/NNTPSVCIIsNntpService
/LM/W3SVC/1IIsWebServer
/LM/W3SVC/2IIsWebServer
/LM/W3SVC/Info/Templates/Public Web SiteIIsWebServer
/LM/W3SVC/Info/Templates/Secure Web SiteIIsWebServer
/LM/W3SVCIIsWebService

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_SERVER_AUTOSTART
Data typeBOOL
User typeIIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.