2.2.3.104.1 MaxPictures (Find)
The MaxPictures element is an optional child element of the Picture element in Find command requests that limits the number of contact photos returned in the server response.
All elements referenced in this section are defined in the Find namespace.
Command request/response |
Parent elements |
Child elements |
Data type |
Number allowed |
---|---|---|---|---|
Find command request (section 2.2.1.2) |
Picture (section 2.2.3.135.1) |
None |
integer ([MS-ASDTYPE] section 2.6) |
0…..1 (optional) |
The value of the MaxPictures element MUST NOT be less than 0.
The server returns the first N results that have contact photos, where N is the value of the MaxPictures element. After the MaxPictures limit is reached, the server returns Status element (section 2.2.3.177.2) value 173 (NoPicture) if the contact has no photo, Status element value 174 (PictureTooLarge) if the contact’s photo is too large, or Status element value 175 (PictureLimitReached) if the contact has a photo but the MaxPictures limit was reached.
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 |
|
14.1 |
|
16.0 |
|
16.1 |
Yes |