Skip to Main Content
Inside Microsoft® Exchange Server 2007 Web Services
book

Inside Microsoft® Exchange Server 2007 Web Services

by David Sterling, Michael Mainer, Ben Spain, Mark Taylor, Huw Upshall
November 2007
Intermediate to advanced content levelIntermediate to advanced
928 pages
26h 9m
English
Microsoft Press
Content preview from Inside Microsoft® Exchange Server 2007 Web Services

Using Extended Properties

Now that you know what extended properties are and how they are declared, let’s look at how you use these extended properties with Exchange Web Services methods.

First, we show how to create a message with extended properties by using CreateItem from Chapter 5. We will use this message in our ongoing extended property discussions. Because you are setting the values for these properties, you need to use the ExtendedProperty container element that contains both the metadata (the property in question) and the data that you wish to set. Example 13-9 sets two different properties.

Example 13-9. Creating an item with two extended properties

<CreateItem xmlns=".../messages" xmlns:t=".../types" MessageDisposition="SaveOnly"> <Items> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Exchange Server 2010 Inside Out

Microsoft® Exchange Server 2010 Inside Out

Tony Redmond
Microsoft® Exchange Server 2013 Unleashed

Microsoft® Exchange Server 2013 Unleashed

Rand Morimoto, Michael Noel, Guy Yardeni, Chris Amaris, Andrew Abbate

Publisher Resources

ISBN: 9780735623927Supplemental ContentCatalog PageErrata