11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The result of including more than one MaxItems element as the child element of the Options<br />

element is undefined. The server MAY return a protocol status error in response to such a command<br />

request.<br />

2.2.3.88 MaxPictures<br />

The MaxPictures element is used in the following command requests:<br />

•ResolveRecipients command requests (section 2.2.2.13.1)<br />

•Search command requests (section 2.2.2.14.1)<br />

The definition of the MaxPictures element differs according to the context in which it is used. For<br />

more details, see section 2.2.3.87.1 and section 2.2.3.87.2.<br />

2.2.3.88.1 MaxPictures (ResolveRecipients)<br />

The MaxPictures element is an optional child element of the Picture element in<br />

ResolveRecipients command requests that limits the number of contact photos returned in the<br />

server response.<br />

All elements referenced in this section are defined in the ResolveRecipients namespace.<br />

<strong>Command</strong> request/response<br />

Parent elements<br />

Child<br />

elements<br />

Data type<br />

Number<br />

allowed<br />

ResolveRecipients command<br />

request (section 2.2.2.13.1)<br />

Picture (section<br />

2.2.3.115.1)<br />

None<br />

integer ([<strong>MS</strong>-<br />

ASDTYPE] section<br />

2.5)<br />

0…..1<br />

(optional)<br />

The server returns the first N results that have contact photos, where N is the value of the<br />

MaxPictures element. After the MaxPictures limit is reached, the server returns Status element<br />

(section 2.2.3.152) value 173 (NoPicture) if the contact has no photo, Status element value 174<br />

(PictureTooLarge) if the contact’s photo is too large, or Status element value 175<br />

(PictureLimitReached) if the contact has a photo but the MaxPictures limit was reached.<br />

Note that the MaxPictures element identifies the number of contact photos returned per query.<br />

Therefore, if the client includes three recipients to resolve and sets the MaxPictures element value<br />

to 3 in the ResolveRecipients command request, a maximum of 9 contact photos can be returned.<br />

2.2.3.88.2 MaxPictures (Search)<br />

The MaxPictures element is an optional child element of the Picture element in Search<br />

command requests that limits the number of contact photos returned in the server response.<br />

All elements referenced in this section are defined in the Search namespace.<br />

<strong>Command</strong><br />

request/response<br />

Parent elements<br />

Child<br />

elements<br />

Data type<br />

Number<br />

allowed<br />

Search command request<br />

(section 2.2.2.14.1)<br />

Picture (section<br />

2.2.3.115.2)<br />

None<br />

integer ([<strong>MS</strong>-<br />

ASDTYPE] section<br />

2.5)<br />

0…..1<br />

(optional)<br />

The server returns the first N results that have contact photos, where N is the value of the<br />

MaxPictures element. After the MaxPictures limit is reached, the server returns Status element<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011<br />

164 / 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!