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 activated.
<xs:element name="StartBoundary"
type="dateTime"
/>
The StartBoundary 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
The <StartBoundary> element is a required element for time and calendar triggers (<TimeTrigger> and <CalendarTrigger>).
For scripting development, the end boundary is specified using the Trigger.StartBoundary property that is inherited by the all trigger objects.
For C++ development, the end boundary is specified using the ITrigger::StartBoundary property that is inherited by the all trigger interfaces.
Examples
The following XML defines a boot trigger element that defines a start boundary of January 1, 2005: 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] |