ScheduledJobDefinition.RemoveTriggers 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.
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.