Vb.net EWS:如何获取添加到会议的资源(房间)的约会信息?

Vb.net EWS:如何获取添加到会议的资源(房间)的约会信息?,vb.net,exchangewebservices,Vb.net,Exchangewebservices,添加新会议后,我始终加载ConflictingMeetingCount属性,以双重确保会议设置为ok(即并发检查),例如: Dim oAppt As New Appointment(exchangeService) ' ..set properties.. oAppt.Save(SendInvitationsMode.SendOnlyToAll) oAppt.Load(New PropertySet(AppointmentSchema.ConflictingMeetingCount)) If o

添加新会议后,我始终加载ConflictingMeetingCount属性,以双重确保会议设置为ok(即并发检查),例如:

Dim oAppt As New Appointment(exchangeService)
' ..set properties..
oAppt.Save(SendInvitationsMode.SendOnlyToAll)
oAppt.Load(New PropertySet(AppointmentSchema.ConflictingMeetingCount))
If oAppt.ConflictingMeetingCount > 0 Then
  ' Whole lotta meetin goin on
End If
我想对与会者和会议室资源做同样的事情,但不知道如何找到相关的约会,例如添加到会议室中的会议室。例如(从上面继续):

现在,假设另一个用户在执行此代码之前的一瞬间滑入了一个appt,我们现在有一个冲突的appt。因此,我想获取与我刚才添加的资源相关的约会对象,以便进行检查。这可能吗

仅在该资源的时间段上找到一个findappoints是不够的,因为这将只返回2个appt对象,但无法(afaik)知道哪个对象属于此特定会议

有什么想法吗

oAppt.Resources.Add("meetingroom1@mahcompany.com")
oAppt.Update(SendInvitationsOrCancellationsMode.SendOnlyToChanged)
Dim oResourceAppt = ** get the appt object for this resource **
If oResourceAppt.ConflictingMeetingCount > 0 Then
  ' This won't do at all
End If