2.2.3.103.2 MaxItems (Sync)

The MaxItems element is an optional child element of the Options element in Sync command requests that specifies the maximum number of recipients (that is, the top N most frequently used recipients) to keep synchronized from within the recipient information cache. This element MUST only be included in a request when the value of the CollectionId element (section 2.2.3.30.6) maps to the recipient information cache. The value of the MaxItems element does not specify the maximum estimate of additions and deletions to make to the recipient information cache, it only specifies the number of recipients to keep synchronized. A complete replacement of each recipient would be double the number of MaxItems or items in the cache, as each recipient update requires a deletion and an addition.

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

Command request/response

Parent elements

Child elements

Data type

Number allowed

Sync command request (section 2.2.1.21)

Options (section 2.2.3.125.6)

None

integer ([MS-ASDTYPE] section 2.6)

0...1 (optional)

The result of including more than one MaxItems element as the child element of the 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