StopAtDurationEnd Property of IRepetitionPattern
Collapse the table of content
Expand the table of content

IRepetitionPattern::StopAtDurationEnd property

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(
  [in]          VARIANT_BOOL stop
);

HRESULT get_StopAtDurationEnd(
  [out, retval] VARIANT_BOOL *pStop
);

Property value

A Boolean value that indicates if a running instance of the task is stopped at the end of the repetition pattern duration.

Error codes

NameMeaning
S_OK

The property value was successfully set or retrieved.

Remarks

When reading or writing XML for a task, this information is specified in the StopAtDurationEnd element of the Task Scheduler schema.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

Task Scheduler
IRepetitionPattern

 

 

Community Additions

ADD
Show:
© 2016 Microsoft