O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Syncing Items Within a Folder

Now that we have exhausted the topic of syncing the folder hierarchy, we will turn our attention to syncing items within the mailbox. Syncing the items contained within a mailbox is accomplished using the SyncFolderItems Web method. While SyncFolderHierarchy performs a deep traversal sync of all folders that have changed since the point in time suggested by the supplied SyncState, SyncFolderItems will sync only those items contained within the folder that you specify. Example 16-22 shows the basic structure of a SyncFolderItems request.

Example 16-22. Basic structure of a SyncFolderItems request

<SyncFolderItems xmlns=".../messages" xmlns:t=".../types"> <ItemShape/> <SyncFolderId/> <SyncState/> <Ignore/> <MaxChangesReturned/> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required