The AutostartServer property exposes Microsoft® SQL Server™ startup behavior upon operating system start.
object.AutostartServer [= value]
object
Expression that evaluates to an object in the Applies To list
value
TRUE or FALSE
Boolean
Read/write
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.
Note AutostartServer is only valid on the Microsoft® Windows NT® 4.0 or Microsoft® Windows 2000 operating system.