Trigger.Enabled property

For scripting, gets or sets a Boolean value that indicates whether the trigger is enabled.

Syntax

Trigger.Enabled As Boolean

Property value

True if the trigger is enabled; otherwise, false. The default is true.

Remarks

When reading or writing XML for a task, the enabled property is specified using the Enabled 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