Reg : Microsoft Exchange Server - Cancellation of Appointments in Past Date RRS feed

  • Question

  • Hello,

    We need to synchronise appointments from Exchange Web Server.

    We are using the below code for retrieving the appointments from exchange server

    Dim folderID As New FolderId(WellKnownFolderName.Calendar, roomaddress)
    'Dim folderName As New FolderId(WellKnownFolderName.Calendar, Roomaddress.Name)
    Dim returnValue As FindItemsResults(Of Appointment)
    ' Retrieve Calendar Appointments against individual room
    returnValue = service.FindAppointments(folderID, ObjcalendarView)
    If Not service Is Nothing Then
        service = Nothing
    End If
    If returnValue.Items.Count > 0 Then
        For Each appt As Appointment In returnValue





    But appt.AppointmentState and appt.IsCancelled is getting the state as 3 and False respectively for the past appointments that are cancelled and so we are not able to Synchronize.

    Kindly let us know on how to resolve the same.


    Thursday, September 7, 2017 5:29 PM

All replies

  • Hi Sucheendarnath,

    Since this forum is discussing and asking questions about the Visual Basic programming language, IDE, libraries, samples, and tools (Not for VB6 questions). And your issue seems more related with the Microsoft Exchange Server , I will move this thread to the more related forum for better help.

    Thanks for your understanding and support.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, September 8, 2017 2:17 AM
  • I would suggest you look at using a CalendarView which will expand any recurring appointment you have , Also look at using LoadPropertiesFromItems to ensure all the properties you want to look at are loaded.


    Sunday, September 10, 2017 11:04 PM