Skip to content

Latest commit

 

History

History
80 lines (48 loc) · 3.88 KB

taskschedulerschema-enabled-triggerbasetype-element.md

File metadata and controls

80 lines (48 loc) · 3.88 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
Enabled (triggerBaseType) Element
Specifies that the trigger is enabled.
14c98f40-0ec5-4dc1-978e-b02c08ee2384
Enabled element Task Scheduler
apiref
Enabled
Schema
reference
05/31/2018

Enabled (triggerBaseType) Element

Specifies that the trigger is enabled.

<xs:element name="Enabled"
    type="boolean"
 />

The Enabled element is defined by the triggerBaseType complex type.

Parent element

Element Derived from Description
BootTrigger bootTriggerType Specifies a trigger that starts a task when the system is booted.
CalendarTrigger calendarTriggerType Specifies a daily, weekly, monthly, or a monthly day-of-the-week (DOW) trigger.
EventTrigger eventTriggerType Specifies a trigger that starts a task when a system event occurs.
IdleTrigger idleTriggerType Specifies a trigger that starts a task when the computer goes into an idle state.
LogonTrigger logonTriggerType Specifies a trigger that starts a task when a user logs on.
RegistrationTrigger registrationTriggerType Specifies a trigger that starts a task when the task is registered.
TimeTrigger timeTriggerType Specifies a trigger that starts a task when the trigger is activated.

Remarks

For scripting development, this information is accessed through the Trigger.Enabled property that is inherited by the all trigger objects.

For C++ development, this information is accessed through the ITrigger::Enabled property that is inherited by the all trigger interfaces.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements

Task Scheduler