[英]Exchange Managed API: How do I search all appointments that have been created since a defined date?
Using Exchange Managed ApI, I need to get all appointments that have a created date that is newer or equal to a defined date.使用 Exchange Managed ApI,我需要获取创建日期更新或等于定义日期的所有约会。 How do I do that?我怎么做?
You can use the FindItems request to do this:您可以使用 FindItems 请求来执行此操作:
var items = service.FindItems(WellKnownFolderName.Calendar, new SearchFilter.IsGreaterThanOrEqualTo(ItemSchema.DateTimeCreated, DateTime.Today), new ItemView(100));
Note that you won't get recurring-appointment expansion, so only the master appointments of a recurring appointment is returned.请注意,您不会获得定期约会扩展,因此只会返回定期约会的主约会。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.