在托管EWS中使用Managed LoadPropertiesForItems,如何获取重复信息 [英] Using Managed LoadPropertiesForItems in Managed EWS, how to get recurrence information

查看:333
本文介绍了在托管EWS中使用Managed LoadPropertiesForItems,如何获取重复信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何修复我的代码,如下所示:

How can I fix my code as shown below:

FindItemsResults< Appointment> findResults = exchangeService.FindAppointments(calendarFolder.Id,view);

FindItemsResults<Appointment> findResults = exchangeService.FindAppointments(calendarFolder.Id, view);

if(findResults.Items!= null&& findResults.Count()> 0)

if (findResults.Items != null && findResults.Count() > 0)

{

     PropertySet detailedPropertySet = new PropertySet(BasePropertySet.FirstClassProperties,  AppointmentSchema.Recurrence);

    PropertySet detailedPropertySet = new PropertySet(BasePropertySet.FirstClassProperties, AppointmentSchema.Recurrence);

     exchangeService.LoadPropertiesForItems(来自findResults中的Item项目select item,detailedPropertySet);

    exchangeService.LoadPropertiesForItems(from Item item in findResults select item, detailedPropertySet);

}

 

似乎没有返回我想要的重复信息。

does not seem to return the recurrence information that I want.

 

 

推荐答案

我应该补充说我按照了这个页面上的说明:

I should add that I followed the instruction on this page:

http://msdn.microsoft.com/en-us/library/dd633700(EXCHG.80)的.aspx

但是 BindToRecurringMaster()似乎没有。 我使用的是1.0 Managed EWS。

but BindToRecurringMaster() does not seem to be available.  I am using 1.0 Managed EWS.


这篇关于在托管EWS中使用Managed LoadPropertiesForItems,如何获取重复信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆