Trigger.EndBoundary property

For scripting, gets or sets the date and time when the trigger is deactivated. The trigger cannot start the task after it is deactivated.


Trigger.EndBoundary As String

Property value

The date and time when the trigger is deactivated. The date and time must be in the following format: YYYY-MM-DDTHH:MM:SS(+-)HH:MM. For example the date October 11th, 2005 at 1:21:17 in the Pacific time zone would be written as 2005-10-11T13:21:17-08:00. The (+-)HH:MM section of the format describes the time zone as a certain number of hours ahead or behind Coordinated Universal Time (Greenwich Mean Time).


When reading or writing XML for a task, the enabled property is specified using the EndBoundary element of the Task Scheduler schema.


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Type library




See also

Task Scheduler