Reputation: 21
I would like to get some advice on how I can programatically access the Calendar in my exchange account please. THks.
Upvotes: 2
Views: 4407
Reputation: 5422
It depends whether you are coding a server or a client application, whether you can leverage Outlook on the client and which Exchange server you are talking to.
Client with Outlook: You can use the Outlook object model.
Exchange 2007/2010: Use the Exchange Managed API (http://msdn.microsoft.com/en-us/library/dd633710(EXCHG.80).aspx).
Exchange 2000/2003: Use WebDAV. I have some articles on how to do this on my website.
Have a look at my website (http://www.infinitec.de), I have several articles on accessing Exchange programmatically.
Upvotes: 3
Reputation: 54148
You need to use the relevant classes and interfaces defined in Microsoft.Office.Interop.Outlook Namespace - take a look at AppointmentItem, for example. There are various "How To" scenarios described there that should get you started.
A broader set of Calendar Automation examples can be found here.
Upvotes: 0