Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/284.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Exchange托管API:如何搜索自定义日期以来创建的所有约会?_C#_.net_Exchange Server_Exchangewebservices - Fatal编程技术网

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

C# Exchange托管API:如何搜索自定义日期以来创建的所有约会?,c#,.net,exchange-server,exchangewebservices,C#,.net,Exchange Server,Exchangewebservices,使用Exchange托管ApI,我需要获取创建日期较新或等于定义日期的所有约会。如何执行此操作?您可以使用FindItems请求执行此操作: var items = service.FindItems(WellKnownFolderName.Calendar, new SearchFilter.IsGreaterThanOrEqualTo(ItemSchema.DateTimeCreated, DateTime.Today), new ItemView(100)); 请注意,您不会获得定期约会

使用Exchange托管ApI,我需要获取创建日期较新或等于定义日期的所有约会。如何执行此操作?

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

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

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

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

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

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

遗憾的是,不会。ExchangeService上的FindAppoints方法对于提供SearchFilter没有重载。您必须在客户端进行筛选。遗憾的是,没有。ExchangeService上的FindAppoints方法对于提供SearchFilter没有重载。您必须在客户端上进行筛选。