This documentation is archived and is not being maintained.
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The AutostartServer property exposes Microsoft SQL Server startup behavior upon operating system start.
An expression that evaluates to an object in the Applies To list
TRUE or FALSE
HRESULT GetAutostartServer(LPBOOL pRetVal);
HRESULT SetAutostartServer(BOOL NewValue);
If TRUE, an attempt is made to start SQL Server when the operating system starts.
If FALSE, no attempt is made to start SQL Server. SQL Server can be started manually.