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

Managed Folders

Way back in Chapter 4, we discussed the concept of managed folders. At that point, we hadn’t delved into the world of extended properties, so you had to fetch all of the subfolders of the root folder and look for the ManagedFolderInformation property on each subfolder. Though that approach does work, there is a more efficient way to do this.

As discussed in Chapter 4, the ManagedFolderInformation property can be used to determine which folders are managed and which are not. You can perform a FindFolder operation with a restriction and ask it to return only those folders that have managed folder information.[200] Here is the request:

<FindFolder xmlns=".../messages" xmlns:t=".../types" Traversal="Deep"> <FolderShape> <t:BaseShape>Default</t:BaseShape> ...

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