Exchange Web 服务管理,获取已删除的约会
我即将编写一个 ews 应用程序来连接交换与另一个日历程序。我发生了什么事,我如何知道哪些约会在交换中被删除?有办法告诉吗?我在 API 和文档中找不到它。
提前致谢。
I am about to write a ews-application to connect exchange with another calendar programm. What occured to me, how do I get to know, which appointments get deleted on exchange? Is there a way to tell? I couldn't find it in the API and documentation.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据用户删除约会(或任何项目)的方式,会执行不同的操作:
您可以通过多种方式获取有关已删除项目的信息:
Depending on how a user deletes an appointment (or any item), different things are done:
You have multiple ways to get information about deleted items:
我编写了一项将 EWS 日历约会同步到 Sql 表的服务。
对于插入/更新更改后的删除,如果数据库中有一行而不是在 EWS 中,我将删除它,因为这意味着它已在 Exchange 中删除。我使用 GUID 来跟踪数据库和交换中的约会。 Exchange Web 服务:为什么 ItemId 不恒定? [续]
只需几十个约会,性能就不错,我将在更大的数据集上尝试它。
I wrote a service that syncs EWS Calendar Appointments to a Sql Table.
For deletion after Inserting/Updating changes if there is a row in the database and not in EWS I will delete it, as this means it was deleted in Exchange. I use GUIDs to track the appointment in database and exchange. Exchange web services: why is ItemId not constant? [continued]
Performance is decent with just couple dozen appointments, I will try it on much larger dataset.