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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 8: Finding and retrieving an item from a file share or UNC site<br />

4.22.1 Issuing a Search for Item Metadata<br />

As illustrated by the figure in section 4.22, the client first issues a Search request (section<br />

2.2.2.14) to the server to retrieve metadata about the item (if the Uniform Resource Identifier (URI)<br />

points to an item) or the items (if the URI points to a folder). The client then does the following:<br />

•Indicates that the client is searching a document library store by using the search:Name<br />

element (section 2.2.3.103.2).<br />

•Provides the URI as the search:Value element (section 2.2.3.169) in an search:EqualTo query<br />

(section 2.2.3.56).<br />

•Indicates the range of results that the client wants to have returned in the response.<br />

In this example, the client is attempting to retrieve metadata for the files in a UNC share.<br />

4.22.1.1 Request<br />

The following example shows the Search command request (section 2.2.2.14.1) sent from the client<br />

to the server to search for item metadata.<br />

<br />

<br />

<br />

DocumentLibrary<br />

<br />

<br />

<br />

\\somehost\directory<br />

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

333 / 369

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

Saved successfully!

Ooh no, something went wrong!