title: How to the Outlook Appointment series master from a single occurence
body: <p>I need to get the master appointment of the meeting series, when an appointment instance is opened.</p>
  
  <p>I have tried the following (currentAppointment variable is of type AppointmentItem)</p>
  
  <pre><code>DateTime sd = currentAppointment.GetRecurrencePattern().PatternStartDate;
  DateTime st = currentAppointment.GetRecurrencePattern().StartTime;
  
  AppointmentItem ai = currentAppointment.GetRecurrencePattern().GetOccurrence(sd+st.TimeOfDay);
  </code></pre>
  
  <p>However, while this gets me the first appointment in the series, it has a RecurrenceState of olApptOccurrence.</p>
  
  <p>How can I get a reference to the olApptMaster - ie the meeting series?</p>