IEnumWorkItems interface

[[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 enumerating the tasks in the Scheduled Tasks folder.

IEnumWorkItems is the primary interface of the enumeration object. To create the enumeration, call ITaskScheduler::Enum.

Methods

The IEnumWorkItems interface has these methods.

Method Description
IEnumWorkItems::Clone Creates a new enumeration object that contains the same enumeration state as the current enumeration.
IEnumWorkItems::Next Retrieves the next specified number of tasks in the enumeration sequence.
IEnumWorkItems::Reset Resets the enumeration sequence to the beginning.
IEnumWorkItems::Skip Skips the next specified number of tasks in the enumeration sequence.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mstask.h
Redistributable Internet Explorer 4.0 or later on Windows NT 4.0 and Windows 95