Share via


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()

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobServer Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

SQL Server Agent Stored Procedures (Transact-SQL)