Поделиться через


Stop Method

В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется.

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.

Синтаксис

object.Stop()

Parts

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

Prototype (C/C++)

HRESULT Stop( );

Замечания

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.