RegisteredTaskCollection object

Scripting object that contains all the tasks that are registered.

Members

The RegisteredTaskCollection object has these types of members:

Properties

The RegisteredTaskCollection object has these properties.

Property Access type Description
Count
Read-only
Gets the number of registered tasks in the collection.
Item
Read-only
Gets the specified registered task from the collection.

Examples

For more information and example code for this scripting object, see Displaying Task Names and States (Scripting).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

TaskFolder.GetTasks