Partager via


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)

Syntax

'Declaration
Public Property Duration As Duration
    Get
    Set
'Usage
Dim instance As UserOofSettings
Dim value As Duration

value = instance.Duration

instance.Duration = value
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.