編輯

共用方式為


OofSettings

The OofSettings element contains the Out of Office (OOF) settings.

GetUserOofSettingsResponse

OofSettings

<OofSettings>
   <OofState>...</OofState>
   <ExternalAudience>...</ExternalAudience>
   <Duration>...</Duration>
   <InternalReply>...</InternalReply>
   <ExternalReply>...</ExternalReply>
</OofSettings>

UserOofSettings

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
OofState
Contains the user's OOF state.
ExternalAudience
Contains a value that determines to whom external OOF messages are sent.
Duration (UserOofSettings)
Contains the duration for which the OOF status is enabled if the OofState element is set to Scheduled. If the OofState element is set to Enabled or Disabled, the value of this element is ignored.
InternalReply
Contains the OOF response sent to other users in the user's domain or trusted domain.
ExternalReply
Contains the OOF response sent to addresses outside the recipient's domain or trusted domains.

Parent elements

Element Description
GetUserOofSettingsResponse
Contains the response results and the OOF settings for a user.
The following is the XPath expression to this element:
/GetUserOofSettingsResponse

Remarks

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/messages
Schema Name
Messages schema
Validation File
Messages.xsd
Can be Empty
False

See also

GetUserOofSettings operation

SetUserOofSettings operation