NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DaysOfMonthPattern.MonthsOfYear

Gets or sets a set of months in a year during which an event should occur.

[Visual Basic]
Public Property MonthsOfYear As Months
[C#]
public Months MonthsOfYear {get; set;}
[C++]
public: __property Months get_MonthsOfYear();
public: __property void set_MonthsOfYear(Months);
[JScript]
public function get MonthsOfYear() : Months;
public function set MonthsOfYear(Months);

Property Value

One of the Months values. The default is All.

Exceptions

Exception Type Condition
ArgumentException The value is not a valid Months value.

See Also

DaysOfMonthPattern Class | DaysOfMonthPattern Members | System.Timers Namespace | Months