다음을 통해 공유


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
public Duration Duration { get; set; }
public:
property Duration^ Duration {
    Duration^ get ();
    void set (Duration^ value);
}
/** @property */
public Duration get_Duration ()

/** @property */
public void set_Duration (Duration value)
public function get Duration () : Duration

public function set Duration (value : 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.

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)