SetScheduledJobCommand.Trigger Property
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.
Triggers to define when job will run.
[System.Management.Automation.Parameter(ParameterSetName="ScriptBlock")]
[System.Management.Automation.Parameter(ParameterSetName="FilePath")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger[] Trigger { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="ScriptBlock")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePath")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Trigger : Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger[] with get, set
Public Property Trigger As ScheduledJobTrigger()
Property Value
- Attributes