The AutostartServer property exposes Microsoft® SQL Server™ startup behavior upon operating system start.
object.AutostartServer [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | True or False |
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.
Boolean
Read/write
HRESULT GetAutostartServer(LPBOOL pRetVal);
HRESULT SetAutostartServer(BOOL NewValue);