共用方式為


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.

Applies To:

FullTextCatalog Object

JobServer Object

FullTextService Object

SQLServer Object

Job Object