This example demonstrates how to create scheduler appointments with different recurrence types in code. To create a recurring series, set the AppointmentItem.Type property to Pattern
and use the AppointmentItem.RecurrenceInfo property to define a recurrence pattern. The scheduler generates occurrences based on this pattern.