IdleSettings.StopOnIdleEnd property

For scripting, gets or sets a Boolean value that indicates that the Task Scheduler will terminate the task if the idle condition ends before the task is completed.

Syntax

IdleSettings.StopOnIdleEnd As Boolean

Property value

A Boolean value that indicates that the Task Scheduler will terminate the task if the idle condition ends before the task is completed.

Remarks

When reading or writing XML for a task, this setting is specified in the StopOnIdleEnd element of the Task Scheduler schema.

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

IdleSettings