Muokkaa

Jaa


TaskFolder.DeleteTask method

For scripting, deletes a task from the folder.

Syntax

TaskFolder.DeleteTask( _
  ByVal Name, _
  ByVal flags _
)

Parameters

Name [in]

The name of the task that is specified when the task was registered. 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.

flags [in]

Not supported. Value is 0

Return value

This method does not return a value.

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