ScheduledJobDefinition.Remove(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.
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