Obsolete. Specifies a recurrence pattern for the appointment exception.
[Obsolete("Use the following API instead: appointmentItem.SetPatternReference(AppointmentItem pattern, int recurrenceIndex)", false)] public void SetExceptionRecurrencePattern( AppointmentItem pattern )
<Obsolete("Use the following API instead: appointmentItem.SetPatternReference(AppointmentItem pattern, int recurrenceIndex)", False)> Public Sub SetExceptionRecurrencePattern( pattern As AppointmentItem )
Use the SetExceptionRecurrencePattern method to change the AppointmentItem.RecurrenceIndex value.
If an appointment is not an exception in a recurring series, the method does nothing. If an appointment is not contained in the SchedulerControl.AppointmentItems collection, a System.InvalidOperationException is thrown. If the specified appointment pattern is not a valid pattern, a System.Exception is thrown.