You found it. Removing a task is done through the TaskFolder.RemoveTask method. If a folder has not been specified when registering a task, then it will be found in the root folder. TaskService has a RootFolder property to expose this. See this link for an example: https://taskscheduler.codeplex.com/wikipage?title=Examples&referringTitle=Documentation#editor.
↧