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

Applying Best Practices to New CalendarItem Instances with the Proxy Classes

Let’s put together all of the knowledge and best practices from this chapter so far and create new calendar items with the proxy classes. Example 8-12 creates a new appointment for February 26, 2007 at 8 A.M., but in a time zone you may not be familiar with: "Nepal Standard Time," which is defined as UTC+05:45. Example 8-12 takes advantage of the TimeSpanToXSDuration method defined in Example 8-10. Example 8-12 also follows the Exchange Web Services team best practice recommendation of using date/time strings without UTC offsets when a MeetingTimeZone has been provided. The code in Example 8-12 accomplishes this by using a DateTimeKind value of Unspecified with all of ...

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