UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:taskschd.IMonthlyTrigger.get_MonthsOfYear |
IMonthlyTrigger::get_MonthsOfYear (taskschd.h) |
Gets or sets the months of the year during which the task runs. (IMonthlyTrigger.get_MonthsOfYear) |
|
taskschd\imonthlytrigger_monthsofyear.htm |
taskschd |
e587ea75-ecf9-40d0-82c2-c1325bac72fc |
12/05/2018 |
IMonthlyTrigger interface [Task Scheduler],MonthsOfYear property, IMonthlyTrigger.MonthsOfYear, IMonthlyTrigger.get_MonthsOfYear, IMonthlyTrigger::MonthsOfYear, IMonthlyTrigger::get_MonthsOfYear, IMonthlyTrigger::put_MonthsOfYear, MonthsOfYear property [Task Scheduler], MonthsOfYear property [Task Scheduler],IMonthlyTrigger interface, get_MonthsOfYear, taskschd.imonthlytrigger_monthsofyear, taskschd/IMonthlyTrigger::MonthsOfYear, taskschd/IMonthlyTrigger::get_MonthsOfYear, taskschd/IMonthlyTrigger::put_MonthsOfYear |
taskschd.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Taskschd.lib |
Taskschd.dll |
Windows |
19H1 |
|
|
|
|
|
|
Gets or sets the months of the year during which the task runs.
This property is read/write.
The following table shows the mapping of the bitwise mask that is used by this property.
Month | Hex value | Decimal value |
---|---|---|
January | 0X001 | 1 |
February | 0x002 | 2 |
March | 0X004 | 4 |
April | 0x008 | 8 |
May | 0X010 | 16 |
June | 0X020 | 32 |
July | 0x040 | 64 |
August | 0X080 | 128 |
September | 0X100 | 256 |
October | 0X200 | 512 |
November | 0X400 | 1024 |
December | 0X800 | 2048 |
When reading or writing your own XML for a task, the months of the year are specified using the Months element of the Task Scheduler schema.