Sdílet prostřednictvím


ScheduledJobDefinition.UpdateOptions(ScheduledJobOptions, Boolean) Method

Definition

Updates scheduled job options.

public void UpdateOptions (Microsoft.PowerShell.ScheduledJob.ScheduledJobOptions options, bool save);
member this.UpdateOptions : Microsoft.PowerShell.ScheduledJob.ScheduledJobOptions * bool -> unit
Public Sub UpdateOptions (options As ScheduledJobOptions, save As Boolean)

Parameters

options
ScheduledJobOptions

ScheduledJobOptions or null for default

save
Boolean

Update Windows Task Scheduler and save to store

Applies to