The ExportToICalendar method exports all appointments contained within the SchedulerStorage to the specified stream in iCalendar format. Use the iCalendarExporter class methods to get more control over the process. To filter appointments for export, handle the AppointmentExporter.AppointmentExporting event.