IRunningTaskCollection interface (taskschd.h)

Provides a collection that is used to control running tasks.

Inheritance

The IRunningTaskCollection interface inherits from the IDispatch interface.

Methods

The IRunningTaskCollection interface has these methods.

 
IRunningTaskCollection::get__NewEnum

Gets the collection enumerator for the running task collection.
IRunningTaskCollection::get_Count

Gets the number of running tasks in the collection.
IRunningTaskCollection::get_Item

Gets the specified task from the collection.

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

IRegisteredTask::GetInstances

IRunningTask

ITaskService::GetRunningTasks

Task Scheduler

Task Scheduler Interfaces