Version

RootActivity Property

Returns the Appointment object that fully describes all occurrences (except for the date and start/end time) of 'non-variance' recurrences. This Appointment acts as a template that describes the subject, location, etc. of the recurrence.
Syntax
'Declaration
 
Public ReadOnly Property RootActivity As Activity
public Activity RootActivity {get;}
Remarks

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.

Requirements

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

See Also