Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the date and time when the trigger is deactivated. The trigger cannot start the task after it is deactivated.
<xs:element name="EndBoundary"
type="dateTime"
/>
The EndBoundary 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, the end boundary is specified using the Trigger.EndBoundary property that is inherited by the all trigger objects.
For C++ development, the end boundary is specified using the ITrigger::EndBoundary property that is inherited by the all trigger interfaces.
Examples
The following XML defines a boot trigger element that defines an end boundary of January 1, 2007: 8:00 AM.
<BootTrigger>
<StartBoundary>2005-01-01T08:00:00</StartBoundary>
<EndBounadry>2007-01-01T08:00:00</EndBoundary>
<Enabled>true</Enabled>
<Repetition></Repetition>
<ExecutionTimeLimit></ExecutionTimeLimit>
<Delay><Delay>
</BootTrigger>
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |