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.
Gets or sets the days of the week during which the task runs.
This property is read/write.
Syntax
HRESULT get_DaysOfWeek(
short *pDays
);
Parameters
pDays
Return value
None
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] |
Target Platform | Windows |
Header | taskschd.h |
Library | Taskschd.lib |
DLL | Taskschd.dll |