Condividi tramite


AutostartServer Property

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The AutostartServer property exposes Microsoft SQL Server startup behavior upon operating system start.

Sintassi

object.AutostartServer [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetAutostartServer(LPBOOL pRetVal);
HRESULT SetAutostartServer(BOOL NewValue);

Osservazioni

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.

Applies To: