Compartir a través de


ScheduledJobDefinition.SetEnabled(Boolean, Boolean) Method

Definition

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

Applies to