【发布时间】:2012-09-26 21:16:09
【问题描述】:
我被难住了。我正在使用 Exchange Web 服务从我公司的本地日历和其他日历中检索日历信息,但“.Resources”始终为空。我们使用资源来存储会议室信息。有趣的是,即使“.RequiredAttendees”是空的,但我可以毫无问题地从“.DisplayTo”和“.DisplayCc”中检索值。有什么建议么?我在下面包含了一个应对 sn-p 以供参考。
CalendarView calendarView = new CalendarView(startDate, endDate);
Mailbox mailbox = new Mailbox(mailboxSMTP);
FolderId calendarFolder = new FolderId(WellKnownFolderName.Calendar, mailbox);
FindItemsResults<Appointment> findResults = service.FindAppointments(calendarFolder, calendarView);
foreach (Appointment appointment in findResults.Items)
{// foreach 1
...
谢谢, 格雷格
【问题讨论】:
标签: c# service exchange-server exchangewebservices