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.

Typical Usage<br />

Essentially, search involves the following three phases:<br />

1. The client issues a request for specific search results.<br />

2. The client uses subsequent requests to retrieve more results by incrementing the range.<br />

3. Any actions on the search results are carried out by using other protocol commands, such as<br />

ItemOperations, SmartReply, or SmartForward.<br />

The following figure shows the typical usage of the Search command to retrieve successive result<br />

sets from the server and then perform some action based on those results (for example, retrieve the<br />

full message body (2) for an e-mail search result).<br />

Figure 2: Search command process<br />

2.2.2.14.1 Request<br />

The following code shows the XSD [XMLSCHEMA1] for the Search command request.<br />

The following Search command elements are specified in other documents:<br />

•airsyncbase:BodyPreference ([<strong>MS</strong>-ASAIRS] section 2.2.2.2)<br />

•airsyncbase:BodyPartPreference ([<strong>MS</strong>-ASAIRS] section 2.2.2.3)<br />

•email:DateRecieved ([<strong>MS</strong>-ASEMAIL] section 2.2.2.6)<br />

•rm:RightsManagementSupport ([<strong>MS</strong>-ASRM] section 2.2.2.1)<br />

<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 />

57 / 369

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

Saved successfully!

Ooh no, something went wrong!