ScheduledJobDefinition.Remove(Boolean) Method

Definition

Removes this definition object: a) Removes from the Task Scheduler or fails if an instance is currently running. or stops any running instances if force is true. b) Removes from the scheduled job definition store. c) Removes from the local repository. d) Disposes this object.

public void Remove (bool force);
member this.Remove : bool -> unit
Public Sub Remove (force As Boolean)

Parameters

force
Boolean

Applies to