The Appointment object referenced by the RootAppointment belongs to the WebScheduleInfo.Appointments collection. The Appointment.Recurrence property of an Appointment object that is a root appointment returns an instance of an Recurrence object whereas all other types of Appointments return null.
Note: Setting the Appointment.StartDateTime or Appointment.EndDateTime properties of an Appointment object that is assigned to an Recurrence's RootAppointment property will cause an exception to be thrown. To modify the starting time of an Recurrence, set the Recurrence.OccurrenceStartTime property. To modify the duration of an Recurrence, set the MaxOccurrences property.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2