Share via


Job.Drop Method (Boolean)

Removes an existing job.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Drop ( _
    keepUnusedSchedules As Boolean _
)
'Usage
Dim instance As Job
Dim keepUnusedSchedules As Boolean

instance.Drop(keepUnusedSchedules)
public void Drop(
    bool keepUnusedSchedules
)
public:
void Drop(
    bool keepUnusedSchedules
)
member Drop : 
        keepUnusedSchedules:bool -> unit 
public function Drop(
    keepUnusedSchedules : boolean
)

Parameters