Task Scheduler 1.0 Interfaces

[[This API may be altered or unavailable in subsequent versions of the operating system or product. Please use the Task Scheduler 2.0 Interfaces or Task Scheduler 2.0 Enumerated Types instead.] ]

The interfaces that are described in the following topics provide programmatic access to the functionality that is available within the Task Scheduler that is used in the Windows 2000, Windows XP, and Windows Server 2003 operating systems.

These topics contain a description of the interface, a list of the properties and methods defined by the interface, and remarks about any special circumstances that should be noted when using the interface.

The following interfaces are introduced by Task Scheduler 1.0.

Interface Description
IEnumWorkItems Provides the methods for enumerating the tasks in the Scheduled Tasks folder.
IProvideTaskPage Provides the methods to access the property sheet settings of a task.
IScheduledWorkItem Provides the methods for managing specific work items.
ITask Provides the methods for running tasks, getting or setting task information, and terminating tasks. It is derived from the IScheduledWorkItem interface and inherits all the methods of that interface.
ITaskScheduler Provides the methods for scheduling tasks.
ITaskTrigger Provides the methods for accessing and setting triggers for a task. Triggers specify task start times, repetition criteria, and other parameters that control when a task is run.