Getting Exchange Appointments by ICalUid?

后端 未结 3 1779
我寻月下人不归
我寻月下人不归 2021-01-12 01:53

So I\'m creating Exchange (2007) Appointments with a given ICalUid:

var app = new Appointment(svc);
app.ICalUid = id;
app.Subject = \"Test Appointment\";
app         


        
相关标签:
3条回答
  • 2021-01-12 02:00

    check the two FindAppointments methods of ExchangeService

    http://msdn.microsoft.com/en-us/library/dd635918(v=exchg.80)

    http://msdn.microsoft.com/en-us/library/dd633767(v=exchg.80)

    0 讨论(0)
  • 2021-01-12 02:07

    You can use a ExchangeService.FindItems to search for the Appointment with the ICalUid - see the example below. Note though, it has a problem finding Appointments that are recurring.

    See:

    • http://social.technet.microsoft.com/Forums/fi-FI/exchangesvrdevelopment/thread/26c2f76d-93bb-4a70-80e8-cf6cc9c66254

    Shame you aren't using Exchange 2010, as there is a getICalUID() in EWS Managed API 1.1.5.

    Here are some other links that may allow you to get a more satisfactory solution.

    • http://blogs.msdn.com/b/mstehle/archive/2009/09/02/ews-uid-not-always-the-same-for-orphaned-instances-of-the-same-meeting.aspx

    • http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/thread/09883d57-e2a2-4db6-8800-9b9d251d6231/

    • http://social.technet.microsoft.com/Forums/pl-PL/exchangesvrdevelopment/thread/5b67df1d-0a15-40cf-aa5e-ca811087d16d

    • http://social.technet.microsoft.com/Forums/en/exchangesvrdevelopment/thread/a9148747-b51c-4b86-b942-27c1e87f4440

    • http://social.technet.microsoft.com/Forums/fi-FI/exchangesvrdevelopment/thread/1bab6e2c-805c-4999-babf-cc7c4aa0d669

    • http://social.technet.microsoft.com/Forums/pl-PL/exchangesvrdevelopment/thread/09057b7d-45d7-48df-8ca1-df119637ff60

    0 讨论(0)
  • 2021-01-12 02:18

    Doesn't seem that 2007 has a way at all.

    0 讨论(0)
提交回复
热议问题