[[This API may be altered or unavailable in subsequent versions of the operating system or product. Please use the Task Scheduler 2.0 Interfaces instead.] ]
Provides the methods for scheduling tasks.
It is the primary interface of the task scheduler object. To create a task scheduler object, call CoCreateInstance.
The ITaskScheduler interface has these methods.
|ITaskScheduler::Activate||The Activate method returns an active interface for a specified work item.|
|ITaskScheduler::AddWorkItem||The AddWorkItem method adds a task to the schedule of tasks.|
|ITaskScheduler::Delete||The Delete method deletes a task.|
|ITaskScheduler::Enum||The Enum method retrieves a pointer to an OLE enumerator object that enumerates the tasks in the current task folder.|
|ITaskScheduler::GetTargetComputer||The GetTargetComputer method returns the name of the computer on which ITaskScheduler is currently targeted.|
|ITaskScheduler::IsOfType||The IsOfType method checks the object's type to verify that it supports a particular interface.|
|ITaskScheduler::NewWorkItem||The NewWorkItem method creates a new work item, allocating space for the work item and retrieving its address.|
|ITaskScheduler::SetTargetComputer||The SetTargetComputer method selects the computer that the ITaskScheduler interface operates on, allowing remote task management and enumeration.|
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Redistributable||Internet Explorer 4.0 or later on Windows NT 4.0 and Windows 95|