Partilhar via


StopMonitor Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The StopMonitor method ends monitoring of the local SQL Server Agent service by an instance of Microsoft SQL Server.

Syntax

object
.StopMonitor(
)

Parts

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

Prototype (C/C++)

HRESULT StopMonitor( );

Remarks

For more information about SQL Server Agent service monitoring, see StartMonitor Method.

Applies To:

JobServer Object