TaskService.GetFolder method

For scripting, gets a folder of registered tasks.

Syntax

TaskService.GetFolder( _
  ByVal path _
)

Parameters

path [in]

The path to the folder to be retrieved. Do not use a backslash following the last folder name in the path. The root task folder is specified with a backslash (\). An example of a task folder path, under the root task folder, is \MyTaskFolder. The '.' character cannot be used to specify the current task folder and the '..' characters cannot be used to specify the parent task folder in the path.

Return value

A TaskFolder object for the requested folder.

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

Task Scheduler