ServerAutoStart Metabase Property
Atualizado: agosto de 2005
Aplica-se a: Windows Server 2003, Windows Server 2003 with SP1
The ServerAutoStart 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 Name | Attribute Value |
|---|---|
|
XML Data Type |
Boolean |
|
WMI Data Type |
Boolean |
|
ADSI Data Type |
Boolean |
|
ABO Data Type |
Boolean |
|
ABO Metabase Identifier |
MD_SERVER_AUTOSTART |
|
Attributes |
NO_ATTRIBUTES |
|
Default Value |
true |
|
MetaFlagsEx |
CACHE_PROPERTY_MODIFIED |
|
User Type |
IIS_MD_UT_SERVER |
|
ID |
1017 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
| Metabase Path | IIS Admin Object Type |
|---|---|
|
/LM/W3SVC/n |
IIsWebServer |
|
/LM/MSFTPSVC/n |
IIsFtpServer |
|
/LM/W3SVC |
IIsWebService |
|
/LM/MSFTPSVC |
IIsFtpService |
|
/LM/NNTPSVC |
IIsNntpService |
|
/LM/NNTPSVC/n |
IIsNntpServer |
|
/LM/SMTPSVC |
IIsSmtpService |
|
/LM/SMTPSVC/n |
IIsSmtpServer |
Code Example
For general code examples, see Code Examples to Configure Metabase Properties.
