ScheduledJobDefinition.SetEnabled(Boolean, Boolean) 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.
Sets the enabled state of this object.
public void SetEnabled (bool enabled, bool save);
member this.SetEnabled : bool * bool -> unit
Public Sub SetEnabled (enabled As Boolean, save As Boolean)
Parameters
- enabled
- Boolean
True if enabled
- save
- Boolean
Update Windows Task Scheduler and save to store