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] |