Dela via


2.2.3.103.1 MaxItems (GetItemEstimate)

The airsync:MaxItems element is an optional child element of the airsync:Options element in GetItemEstimate command requests that specifies the maximum number of items to include in the response. This element can only be included in a request when the CollectionId element (section 2.2.3.30.2) is set to "RI" to specify a recipient information store; otherwise, the server will respond with a status 2 error.

Elements referenced in this section are defined in the GetItemEstimate namespace, except where otherwise indicated by the presence of a namespace prefix (as defined in section 2.2.4).

Command request/response

Parent elements

Child elements

Data type

Number allowed

GetItemEstimate command request (section 2.2.1.9)

airsync:Options (section 2.2.3.125.2)

None

integer ([MS-ASDTYPE] section 2.6)

0...1 (optional)

Including airsync:MaxItems when the CollectionId element is set to anything other than "RI" results in an invalid XML error, Status element (section 2.2.3.177.7) value of 2.

The result of including more than one airsync:MaxItems element as the child of the airsync:Options element is undefined. The server MAY return a protocol status error in response to such a command request.

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

12.1

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes