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.

2.2.2.3.2 Response<br />

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

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

2.2.2.4 FolderSync<br />

The FolderSync command synchronizes the collection hierarchy but does not synchronize the items<br />

in the collections themselves.<br />

This command works similarly to the Sync command (section 2.2.2.19). An initial FolderSync<br />

command with a SyncKey element (section 2.2.3.156.2) value of 0 (zero) is required in order to<br />

obtain the list of folders and the synchronization key associated with that list. The synchronization<br />

key MUST be returned in the SyncKey element of the response. This synchronization key MUST be<br />

used in subsequent FolderSync commands to obtain folder hierarchy changes.<br />

Unlike a Sync request (section 2.2.2.19.1), there is no GetChanges element (section 2.2.3.72)<br />

submitted in the FolderSync request (section 2.2.2.4.1) to get changes from the server. All folders<br />

MUST be returned to the client when initial folder synchronization is done with a synchronization key<br />

of 0 (zero).<br />

The FolderHierarchy namespace is the primary namespace for this section. Elements referenced in<br />

this section that are not defined in the FolderHierarchy namespace use the namespace prefixes<br />

defined in section 2.2.1.<br />

The following table lists the elements that are used in FolderSync command requests and<br />

responses.<br />

Element Scope <strong>Reference</strong><br />

FolderSync Request and Response section 2.2.3.67<br />

SyncKey Request and Response section 2.2.3.156.2<br />

Status Response section 2.2.3.152.4<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 />

28 / 369

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

Saved successfully!

Ooh no, something went wrong!