Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the job with the specified ID value.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub DropJobByID ( _
jobid As Guid _
)
'Usage
Dim instance As JobServer
Dim jobid As Guid
instance.DropJobByID(jobid)
public void DropJobByID(
Guid jobid
)
public:
void DropJobByID(
Guid jobid
)
member DropJobByID :
jobid:Guid -> unit
public function DropJobByID(
jobid : Guid
)
Parameters
- jobid
Type: System.Guid
A Guid system object value that specifies the job ID value.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace