JobServer.StopMonitor Method

Ends monitoring the local SQL Server Agent Service by an instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub StopMonitor
'Usage
Dim instance As JobServer

instance.StopMonitor()
public void StopMonitor()
public:
void StopMonitor()
member StopMonitor : unit -> unit 
public function StopMonitor()