ScheduledJobDefinition.GetTrigger(Int32) 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.
Finds and returns a copy of the ScheduledJobTrigger corresponding to the passed in trigger Id.
public Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger GetTrigger (int triggerId);
member this.GetTrigger : int -> Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger
Public Function GetTrigger (triggerId As Integer) As ScheduledJobTrigger
Parameters
- triggerId
- Int32
Trigger Id
Returns
ScheduledJobTrigger object