Share via


JobServer.DropJobByID(Guid) Method

Definition

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

Applies to