This documentation is archived and is not being maintained.

UserOofSettings.Duration Property

The Duration property gets or sets a value that specifies the duration for which the out of office (OOF) status is enabled if the OofState property is set to Scheduled. If the OofState property is set to Enabled or Disabled, the value of this property is ignored.

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

public Duration Duration { get; set; }

Property Value

Type: ExchangeWebServices.Duration
The Duration property returns a Duration object that contains the start time and end time for which the OOF settings should be enabled.
Show: