gpt4 book ai didi

c# - Exchange 托管 API : How do I search all appointments that have been created since a defined date?

转载 作者:太空宇宙 更新时间:2023-11-03 20:32:31 27 4
gpt4 key购买 nike

使用 Exchange Managed ApI,我需要获取创建日期晚于或等于定义日期的所有约会。我该怎么做?

最佳答案

您可以使用 FindItems 请求来执行此操作:

var items = service.FindItems(WellKnownFolderName.Calendar, new SearchFilter.IsGreaterThanOrEqualTo(ItemSchema.DateTimeCreated, DateTime.Today), new ItemView(100));

请注意,您不会获得重复约会扩展,因此只会返回重复约会的主约会。

关于c# - Exchange 托管 API : How do I search all appointments that have been created since a defined date?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6745628/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com