The Stop method halts execution for a Microsoft® SQL Server™ service or SQL Server Agent job, or stops Microsoft Search full-text catalog population.
| FullTextCatalog Object | JobServer Object |
| FullTextService Object | SQLServer Object |
| Job Object |
object.Stop( )
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
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.
HRESULT Stop();