IMonthlyTrigger::RunOnLastDayOfMonth property

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

This property is read/write.

Syntax


HRESULT put_RunOnLastDayOfMonth(
  [in]   VARIANT_BOOL lastday
);

HRESULT get_RunOnLastDayOfMonth(
  [out]  VARIANT_BOOL *pLastday
);

Property value

True indicates that the task runs on the last day of the month, regardless of the actual date of that day; otherwise, False.

Error codes

NameMeaning
S_OK

The property value was successfully set or retrieved.

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
IMonthlyTrigger

 

 

Community Additions

ADD
Show:
© 2015 Microsoft