Share via


Stop Method

Diese Funktion wird in zukünftigen Versionen von Microsoft SQL Server nicht mehr bereitgestellt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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.

Syntax

object.Stop()

Parts

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

Prototype (C/C++)

HRESULT Stop( );

Hinweise

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.