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!

WeeklyPattern.DaysOfWeek

Gets or sets a value indicating the days of the week during which the event should occur.

[Visual Basic]
Public Property DaysOfWeek As DaysOfWeek
[C#]
public DaysOfWeek DaysOfWeek {get; set;}
[C++]
public: __property DaysOfWeek get_DaysOfWeek();
public: __property void set_DaysOfWeek(DaysOfWeek);
[JScript]
public function get DaysOfWeek() : DaysOfWeek;
public function set DaysOfWeek(DaysOfWeek);

Property Value

One of the DaysOfWeek values. The default is All.

Exceptions

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

See Also

WeeklyPattern Class | WeeklyPattern Members | System.Timers Namespace