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

Updating Your Search Folder

So you have created your handy search folder that will save you hours of time wading through old e-mails. But, oh! You didn’t mean to look for status in your subject line! You meant to look for statii.[219] Of course, you could delete the folder and create a new one with your updated search criteria. Instead, it’s best to simply update your existing search folder and set the new search criteria as shown in Example 15-25.

Example 15-25. UpdateFolder call to change the search folder restriction

<UpdateFolder xmlns=".../messages"
              xmlns:t=".../types">
  <FolderChanges>
    <t:FolderChange>
      <t:FolderId Id="AAAtAEFkbWl...
      <t:Updates>
        <t:SetFolderField>
          <t:FieldURI FieldURI="folder:SearchParameters"/>
          <t:SearchFolder> <t:SearchParameters ...

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