共用方式為


ScheduledJobDefinition.RemoveTriggers Method

Definition

Removes triggers matching passed in trigger Ids.

public System.Collections.Generic.List<int> RemoveTriggers (System.Collections.Generic.IEnumerable<int> triggerIds, bool save);
member this.RemoveTriggers : seq<int> * bool -> System.Collections.Generic.List<int>
Public Function RemoveTriggers (triggerIds As IEnumerable(Of Integer), save As Boolean) As List(Of Integer)

Parameters

triggerIds
IEnumerable<Int32>

Trigger Ids to remove

save
Boolean

Update Windows Task Scheduler and save to store

Returns

Trigger Ids not found.

Applies to