Dela via


ScheduledJobDefinition.GetTrigger(Int32) Method

Definition

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

Applies to