约会.Id.UniqueID已更改 [英] the appointment.Id.UniqueID changed

查看:89
本文介绍了约会.Id.UniqueID已更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个约会,约会室是test_room1@aa.com,我模拟了用户是jack@aa.com.

I created an appointment, the appointment room is test_room1@aa.com, and I impersonate the user is jack@aa.com.

但是当我从jack@aa.com查找FindAppointments时,ID为A.当我从room test_room1@aa.com查找FindAppointments时.该ID为B.

but when I FindAppointments from jack@aa.com, the ID is A. when I FindAppointments from room test_room1@aa.com. the ID is B.

为什么ID不同?

我使用jack@aa.com进行约会,并将约会.ID.UniqueId保存到数据库中.但是我需要在系统中显示AllBookings,所以我必须按房间预约.但是相同的约会ID是不同的,我无法使其与我的数据库相对.

I use jack@aa.com make an appointment, and saved appointment.ID.UniqueId to database. but I need show AllBookings in system, so I have to get appointments by room. but same appointment ID is different, I can't make it relative with my database.

推荐答案

您引用的ID是EWSId,它对于Exchange存储中的每个项目都是唯一的.即使在每个邮箱中具有相同的约会,它在Exchange存储中实际上也是一个单独的对象,因此具有不同的EWSId,请参见 http://msdn.microsoft.com/en-us/library/office/cc839502%28v=office.15%29.aspx .您可以使用该属性在任何与会者的日历中查找会议,也可以在响应,邀请消息中查找该会议.

The Id your referring to is the EWSId which is unique for every item in the Exchange Store. Even though its the same appointment in each mailbox it's physically a separate object in the Exchange Store so hence has a different EWSId see http://technet.microsoft.com/en-us/library/bb123495%28v=exchg.141%29.aspx. If you working with appointment identifiers then i would suggest you use PidLidCleanGlobalObjectId http://msdn.microsoft.com/en-us/library/office/cc839502%28v=office.15%29.aspx . You can use that property to find both the meeting in any of the Attendee's calendar and also any response, invitations messages.

欢呼 格伦

这篇关于约会.Id.UniqueID已更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆