MonthlyDOWTrigger.WeeksOfMonth property

For scripting, gets or sets the weeks of the month during which the task runs.

Syntax

MonthlyDOWTrigger.WeeksOfMonth As short

Property value

A bitwise mask that indicates the days of the week during which the task runs.

Remarks

The following table shows the mapping of the bitwise mask used by this property.

WeekHex ValueDecimal Value
First week of the month0X011
Second week of the month0x022
Third week of the month0X044
Fourth week of the month0X088

 

When reading or writing XML for a task, the days of the week of a monthly day-of-week calendar are specified by the Weeks element.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Type library

Taskschd.tlb

DLL

Taskschd.dll

See also

MonthlyDOWTrigger
Task Scheduler

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.