简体   繁体   English

Exchange 托管 API:如何搜索自定义日期以来创建的所有约会?

[英]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.

相关问题 Exchange 托管 API:如何检索以特定 substring 结尾的所有元素 - Exchange Managed API: How do I retrieve all elements that end with specific substring EWS托管API如何区分各种约会? - EWS Managed API How can I distinct various appointments? 如何使用Exchange Web Services 2010托管API获取文件夹大小? - How do I get folder size with Exchange Web Services 2010 Managed API? EWS托管API 2.0-渲染CalendarView,包括所有重复约会 - EWS Managed API 2.0 - Render CalendarView including all recurring appointments 如何在相同日期的 Richtextbox 中保存单独的约会? - How do I save separate appointments in the richtextbox with the same date? 按日期获取Exchange EWS托管API 2.0 - Exchange EWS Managed API 2.0 get by date Exchange托管API - 所有返回的EmailMessages具有相同的唯一Id字符串 - Exchange Managed API - All Returned EmailMessages Have Same Unique Id String 如何使用Exchange Web服务托管API列出这些文件夹中的所有文件夹和文件? - How to list all folders and files in those folders using Exchange Web Services Managed API? 如何验证是否已为所有用途创建了自动映射器映射? - How to verify that automapper mappings have been created for all uses? 如何在C#中启动进程,但仅在所有程序集都卸载后才运行? - How do I start a process in C#, but have it run only after all assemblies have been unloaded?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM