[MS-ASCMD]: ActiveSync Command Reference Protocol Specification
[MS-ASCMD]: ActiveSync Command Reference Protocol Specification
[MS-ASCMD]: ActiveSync Command Reference Protocol Specification
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
•FolderDelete command requests (section 2.2.2.3.1) and responses (section 2.2.2.3.2)<br />
•FolderUpdate command requests (section 2.2.2.5.1) and responses (section 2.2.2.5.2)<br />
•FolderSync command requests (section 2.2.2.4.1) and responses (section 2.2.2.4.2)<br />
•GetItemEstimate command requests (section 2.2.2.7.1)<br />
•Sync command requests (section 2.2.2.19.1) and responses (section 2.2.2.19.2)<br />
The definition of the SyncKey element differs according to the context in which it is used. For more<br />
details, see section 2.2.3.156.1, section 2.2.3.156.2, section 2.2.3.156.3, section 2.2.3.156.4.<br />
2.2.3.156.1 SyncKey (FolderCreate, FolderDelete, and FolderUpdate)<br />
The SyncKey element is a used in FolderCreate command requests and responses, FolderDelete<br />
command and responses, and FolderUpdate command and responses to represent the<br />
synchronization state of a collection.<br />
All elements referenced in this section are defined in the FolderHierarchy namespace.<br />
<strong>Command</strong><br />
request/response<br />
Parent elements<br />
Child<br />
elements<br />
Data type<br />
Number<br />
allowed<br />
FolderCreate command<br />
request (section 2.2.2.2.1)<br />
FolderCreate<br />
(section 2.2.3.63)<br />
None<br />
string ([<strong>MS</strong>-<br />
ASDTYPE] section<br />
2.6)<br />
1…1<br />
(required)<br />
FolderCreate command<br />
response (section 2.2.2.2.2)<br />
FolderCreate None string 0...1<br />
(optional)<br />
FolderDelete command<br />
request (section 2.2.2.3.1)<br />
FolderDelete<br />
(section 2.2.3.64)<br />
None string 1…1<br />
(required)<br />
FolderDelete command<br />
response (section 2.2.2.3.2)<br />
FolderDelete None string 0...1<br />
(optional)<br />
FolderUpdate command<br />
request (section 2.2.2.5.1)<br />
FolderUpdate<br />
(section 2.2.3.68)<br />
None string 1…1<br />
(required)<br />
FolderUpdate command<br />
response (section 2.2.2.5.2)<br />
FolderUpdate None string 0…1<br />
(optional)<br />
The server returns a Status element (section 2.2.3.152.5) value of 10 if the SyncKey element is<br />
not included in a FolderUpdate command request.<br />
After a successful FolderCreate command (section 2.2.2.2), FolderDelete command (section<br />
2.2.2.3), or FolderUpdate command (section 2.2.2.5), the server MUST send a synchronization key<br />
to the client in a response. If the FolderCreate command, FolderDelete command, or<br />
FolderUpdate command is not successful, the server MUST NOT return a SyncKey element.<br />
The client MUST store this key and send it back to the server the next time the folder hierarchy is<br />
synchronized or updated. The server MUST check the value of the key to make sure the value of the<br />
SyncKey element provided in the request matches a synchronization key value on the server. The<br />
server MUST return a Status element (section 2.2.3.152.4) value of 9 if the value of the SyncKey<br />
element does not match the value of the synchronization key on the server.<br />
The client MUST store the synchronization key as an opaque string of up to 64 characters.<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 />
244 / 369