IRepetitionPattern::put_StopAtDurationEnd method (taskschd.h)
Gets or sets a Boolean value that indicates if a running instance of the task is stopped at the end of the repetition pattern duration.
This property is read/write.
Syntax
HRESULT put_StopAtDurationEnd(
VARIANT_BOOL stop
);
Parameters
stop
Return value
None
Remarks
When reading or writing XML for a task, this information is specified in the StopAtDurationEnd 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] |
Target Platform | Windows |
Header | taskschd.h |
Library | Taskschd.lib |
DLL | Taskschd.dll |