Represents an object that exports Scheduler appointments to MS Outlook calendar items.
[CLSCompliant(false)] public class OutlookExport : AppointmentExporter, ISupportCalendarFolders, IOutlookItemExchanger
<CLSCompliant(False)> Public Class OutlookExport Inherits AppointmentExporter Implements ISupportCalendarFolders, IOutlookItemExchanger
The main functionality of the OutlookExport class is provided by the AppointmentExporter.Export method.
You should specify the SchedulerStorage component that contains appointments for export when creating a OutlookExport instance. The OutlookExport.CalendarFolderName property enables you to specify a destination calendar different from the default.
The OutlookExport.SetCalendarProvider method provides you with the ability to process Outlook items before they are saved.
A set of events controls the import process - the AppointmentExporter.AppointmentExporting is raised before each appointment is exported, and gives you the ability to not export a particular appointment, by setting the AppointmentCancelEventArgs.Cancel to true. The AppointmentExporter.AppointmentExported event is raised after each appointment has been exported, and the AppointmentExchanger.OnException enables you to catch export errors and respond adequately - even by terminating the process by calling the AppointmentExchanger.Terminate method.