Dela via


JobSchedule.Drop Method (Boolean)

Removes the referenced job schedule.

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

Syntax

'Declaration
Public Sub Drop ( _
    keepUnusedSchedule As Boolean _
)
'Usage
Dim instance As JobSchedule
Dim keepUnusedSchedule As Boolean

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

Parameters

  • keepUnusedSchedule
    Type: System.Boolean
    A Boolean which dertemines whether unused schedules should be kept.