 | MonthlyTrigger Constructor |
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic MonthlyTrigger(
int dayOfMonth = 1,
MonthsOfTheYear monthsOfYear = MonthsOfTheYear.AllMonths
)
Public Sub New (
Optional dayOfMonth As Integer = 1,
Optional monthsOfYear As MonthsOfTheYear = MonthsOfTheYear.AllMonths
)
public:
MonthlyTrigger(
int dayOfMonth = 1,
MonthsOfTheYear monthsOfYear = MonthsOfTheYear::AllMonths
)
Request Example
View SourceParameters
- dayOfMonth (Optional)
- Type: SystemInt32
The day of the month. This must be a value between 1 and 32. If this value is set to 32, then the RunOnLastDayOfMonth value will be set and no days will be added regardless of the month.
- monthsOfYear (Optional)
- Type: Microsoft.Win32.TaskSchedulerMonthsOfTheYear
The months of the year.
See Also