IMonthlyDOWTrigger::put_RunOnLastWeekOfMonth method (taskschd.h)

Gets or sets a Boolean value that indicates that the task runs on the last week of the month.

This property is read/write.

Syntax

HRESULT put_RunOnLastWeekOfMonth(
  VARIANT_BOOL lastWeek
);

Parameters

lastWeek

Return value

None

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

IMonthlyDOWTrigger

Task Scheduler