Condividi tramite


Stop Method

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 Stop method halts execution for a Microsoft SQL Server service or SQL Server Agent service job, or stops Microsoft Search full-text catalog population.

Sintassi

object.Stop()

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT Stop( );

Osservazioni

The Stop method halts execution or population for the referenced component immediately. For the SQLServer object, the process is not orderly. For more information about performing an orderly stop of a SQL Server service, see Shutdown Method.