Job.Stop Method
Stops executing the referenced job.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Stop
'Usage
Dim instance As Job
instance.Stop()
public void Stop()
public:
void Stop()
member Stop : unit -> unit
public function Stop()
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace