Partager via


ScheduledJobDefinition.GetTriggers Method

Definition

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

notFoundIds
List<Int32>

List of not found trigger Ids

Returns

List of ScheduledJobTrigger objects

Applies to