ITaskFolder interface (taskschd.h)

Provides the methods that are used to register (create) tasks in the folder, remove tasks from the folder, and create or remove subfolders from the folder.

Inheritance

The ITaskFolder interface inherits from the IUnknown interface. ITaskFolder also has these types of members:

Methods

The ITaskFolder interface has these methods.

 
ITaskFolder::CreateFolder

Creates a folder for related tasks.
ITaskFolder::DeleteFolder

Deletes a subfolder from the parent folder.
ITaskFolder::DeleteTask

Deletes a task from the folder.
ITaskFolder::get_Name

Gets the name that is used to identify the folder that contains a task.
ITaskFolder::get_Path

Gets the path to where the folder is stored.
ITaskFolder::GetFolder

Gets a folder that contains tasks at a specified location.
ITaskFolder::GetFolders

Gets all the subfolders in the folder.
ITaskFolder::GetSecurityDescriptor

Gets the security descriptor for the folder.
ITaskFolder::GetTask

Gets a task at a specified location in a folder.
ITaskFolder::GetTasks

Gets all the tasks in the folder.
ITaskFolder::RegisterTask

Registers (creates) a new task in the folder using XML to define the task.
ITaskFolder::RegisterTaskDefinition

Registers (creates) a task in a specified location using the ITaskDefinition interface to define a task.
ITaskFolder::SetSecurityDescriptor

Sets the security descriptor for the folder.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h

See also

Task Scheduler Interfaces