Редагувати

Поділитися через


Trigger.Repetition property

For scripting, gets or sets a value that indicates how often the task is run and how long the repetition pattern is repeated after the task is started.

Syntax

Trigger.Repetition As RepetitionPattern

Property value

A RepetitionPattern object that defines how often the task is run and how long the repetition pattern is repeated after the task is started.

Remarks

When reading or writing your own XML for a task, the repetition pattern for a trigger is specified in the Repetition 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

RepetitionPattern