ScheduledJobDefinition.GetTriggers 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.
Returns a list of new ScheduledJobTrigger objects corresponding to the passed in trigger Ids. Also returns an array of trigger Ids that were not found in an out parameter.
public System.Collections.Generic.List<Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger> GetTriggers (System.Collections.Generic.IEnumerable<int> triggerIds, out System.Collections.Generic.List<int> notFoundIds);
member this.GetTriggers : seq<int> * List -> System.Collections.Generic.List<Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger>
Public Function GetTriggers (triggerIds As IEnumerable(Of Integer), ByRef notFoundIds As List(Of Integer)) As List(Of ScheduledJobTrigger)
Parameters
- triggerIds
- IEnumerable<Int32>
List of trigger Ids
Returns
List of ScheduledJobTrigger objects