Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

WebServices - how to get a current index from a recurring appointment

$
0
0

Hello,

I'm importing calendar appointments from Exchange into an ERP system. What I'm trying to figure out are recurring appointments. If I fetch an Appointment from the calendar view and it's a recurring appointment of the AppointmentType=Occurrence... how can I get the OccurenceIdx from that one?

Example:

                foreach (Appointment localAppointment in searchResults)
                {
                    localAppointment.Load(appointmentProperties);
                    if (localAppointment.AppointmentType == AppointmentType.Exception || localAppointment.AppointmentType)

                    {

                                        //TODO: print CurrentIndex

                    }

                }

 My understanding is, that all appointments in a series have the same UniqueId... is that correct?

Many thanks,

Martin


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>