UserOofSettings.Duration Property

Definition

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.

public:
 property ExchangeWebServices::Duration ^ Duration { ExchangeWebServices::Duration ^ get(); void set(ExchangeWebServices::Duration ^ value); };
public ExchangeWebServices.Duration Duration { get; set; }
Public Property Duration As Duration

Property Value

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

Applies to