Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Week | Hex Value | Decimal Value |
---|---|---|
First week of the month | 0X01 | 1 |
Second week of the month | 0x02 | 2 |
Third week of the month | 0X04 | 4 |
Fourth week of the month | 0X08 | 8 |
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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|