Partager via


WorkingPeriod.DayOfWeek Property

The DayOfWeek property gets or sets the list of working days that are scheduled for the mailbox user.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
Public Property DayOfWeek As String
public string DayOfWeek { get; set; }
public:
property String^ DayOfWeek {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_DayOfWeek ()

/** @property */
public void set_DayOfWeek (String value)
public function get DayOfWeek () : String

public function set DayOfWeek (value : String)

Property Value

If the mailbox user has set the days that represent the work week, the DayOfWeek property contains a list of the days that the user works.

Remarks

The DayOfWeek property can contain any of the following values:

  • Sunday

  • Monday

  • Tuesday

  • Wednesday

  • Thursday

  • Friday

  • Saturday

The text values are returned in the order listed.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)