共用方式為


2.2.3.61.2 EndTime (Settings)

The EndTime element is an optional child element of the Set element in Settings command Oof requests and an optional child element of the Get element in Settings command Oof responses. It is used with the StartTime element (section 2.2.3.176.2) to specify the range of time during which the user is out of office.

All elements referenced in this section are defined in the Settings namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Settings command Oof request (section 2.2.1.18)

Set (section 2.2.3.167)

None

datetime ([MS-ASDTYPE] section 2.3)

0...1 (optional)

Settings command Oof response

Get (section 2.2.3.83)

None

datetime

0...1 (optional)

The EndTime element can be present within the Get element of the Settings response for the Oof element (section 2.2.3.122) or within the Set element of the Settings request for the Oof element.

In a Set Oof node, both the StartTime element and the EndTime element MUST be included in the Settings request, or neither the StartTime element nor the EndTime element MUST be included in the Settings request. If either the StartTime element or the EndTime element is included in the request without the other, a Status element (section 2.2.3.177.15) value of 2 is returned as a child of the Oof element.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes