RunningTask.Stop method

For scripting, stops this instance of the task.

Syntax

RunningTask.Stop()

Parameters

This method has no parameters.

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