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.

4.12.1 Request<br />

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

to the server. The search:Name element (section 2.2.3.103.2) identifies the GAL as the store to<br />

search, and the search:Query element (section 2.2.3.119) identifies the search string as "Anat".<br />

Within the search:Options element (section 2.2.3.107.4), the search:Range element (section<br />

2.2.3.120.2) indicates that a maximum of two results can be returned in the response, the<br />

search:RebuildResults element (section 2.2.3.121) indicates that the server will rebuild the<br />

search folder (2), and the search:DeepTraversal element (section 2.2.3.39) indicates that all<br />

subfolders are searched.<br />

<br />

<br />

<br />

GAL<br />

Anat<br />

<br />

0-1<br />

<br />

<br />

<br />

<br />

<br />

4.12.2 Response<br />

The following example shows the Search command response (section 2.2.2.14.2) sent from the<br />

server to the client. A search:Status element (section 2.2.3.152.12) value of 1 is returned to<br />

indicate that the search was successful. The search:Result elements (section 2.2.3.132.2) contain<br />

the GAL entries for the first two results that met the search criteria.<br />

<br />

<br />

1<br />

<br />

<br />

1<br />

<br />

<br />

Anat Kerry<br />

+1 (301) 5550156 X8376<br />

Bldg36/6163<br />

SDE<br />

Contoso<br />

anatk<br />

Anat<br />

Kerry<br />

anatk@contoso.com<br />

<br />

<br />

<br />

<br />

Anat Gray<br />

+1 (953) 5550195 <br />

Bldg2/2710<br />

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

310 / 369

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

Saved successfully!

Ooh no, something went wrong!