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 |
|
|
|
|
reference |
05/31/2018 |
Specifies that the trigger is enabled.
<xs:element name="Enabled"
type="boolean"
/>
The Enabled element is defined by the triggerBaseType complex type.
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. |
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |