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.

is returned to indicate that the folder deletion was successful. The<br />

itemoperations:EmptyFolderContents element (section 2.2.3.52) and airsync:CollectionId<br />

element (section 2.2.3.29.2) provide confirmation of the folder whose contents were deleted.<br />

<br />

<br />

1<br />

<br />

<br />

1<br />

15<br />

<br />

<br />

<br />

4.14 Moving Items to Another Folder by Using the MoveItems <strong>Command</strong><br />

The following sections show how to move items to another folder by using the MoveItems<br />

command (section 2.2.2.10).<br />

4.14.1 Request<br />

The following example shows a MoveItems command request (section 2.2.2.10.1) sent from the<br />

client to the server to move an item from one folder to another. The move:SrcMsgId element<br />

(section 2.2.3.150) identifies the item to move. The move:SrcFldId element (section 2.2.3.149)<br />

identifies the folder ID of the folder that currently contains the item, and the move:DstFldId<br />

element (section 2.2.3.47.2) identifies the destination folder.<br />

<br />

<br />

<br />

5:1<br />

5<br />

14<br />

<br />

<br />

4.14.2 Response<br />

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

the server to the client. A move:Status element (section 2.2.3.152.9) value of 3 is returned to<br />

indicate that the move operation was successful. The move:SrcMsgId element (section 2.2.3.150)<br />

identifies the original ID of the item to move, and the move:DstMsgId element (section 2.2.3.48)<br />

identifies the new ID of the item that was moved.<br />

<br />

<br />

<br />

5:1<br />

3<br />

14:1<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 />

314 / 369

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

Saved successfully!

Ooh no, something went wrong!