JobServer.DropJobByID(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use RemoveJobByID
Drops the SQLServerAgent job identified and removes the referencing Job object from the Jobs collection.
public void DropJobByID(Guid jobid);
[System.Obsolete("Use RemoveJobByID")]
public void DropJobByID(Guid jobid);
member this.DropJobByID : Guid -> unit
[<System.Obsolete("Use RemoveJobByID")>]
member this.DropJobByID : Guid -> unit
Public Sub DropJobByID (jobid As Guid)
Parameters
- jobid
- Guid
- Attributes