Muokkaa

Jaa


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.

Syntax

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).

Remarks

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

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

Task Scheduler