Sdílet prostřednictvím


RegisterScheduledJobCommand.Trigger Property

Definition

Triggers to define when job will run.

[System.Management.Automation.Parameter(ParameterSetName="FilePath")]
[System.Management.Automation.Parameter(ParameterSetName="ScriptBlock")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger[] Trigger { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="FilePath")>]
[<System.Management.Automation.Parameter(ParameterSetName="ScriptBlock")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Trigger : Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger[] with get, set
Public Property Trigger As ScheduledJobTrigger()

Property Value

Attributes

Applies to