ITrigger::get_Repetition method (taskschd.h)

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.

This property is read/write.

Syntax

HRESULT get_Repetition(
  IRepetitionPattern **ppRepeat
);

Parameters

ppRepeat

Return value

None

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.

Examples

For more information and example code for this property, see Daily Trigger Example (C++).

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

IRepetitionPattern

ITrigger

Task Scheduler