MonthlyDOWTrigger.DaysOfWeek property
For scripting, gets or sets the days of the week during which the task runs.
Syntax
MonthlyDOWTrigger.DaysOfWeek 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.
Day of Week | Hex Value | Decimal Value |
---|---|---|
Sunday | 0x01 | 1 |
Monday | 0x02 | 2 |
Tuesday | 0x04 | 4 |
Wednesday | 0x08 | 8 |
Thursday | 0x10 | 16 |
Friday | 0x20 | 32 |
Saturday | 0x40 | 64 |
When reading or writing XML for a task, the days of the week of a monthly day-of-week calendar are specified by the DaysOfWeek element.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|