Represents the appointments importer which loads the appointments data from a scheduler application (for instance, MS Outlook) to the Scheduler.
NuGet Package: DevExpress.Scheduler.Core
public abstract class AppointmentImporter : AppointmentExchanger
Public MustInherit Class AppointmentImporter Inherits AppointmentExchanger
Related API Members
The following members return AppointmentImporter objects:
|Library||Related API Members|
|Cross-Platform Class Library||ISchedulerStorageBase.CreateOutlookImporter()|
This class provides the main functionality used when manually importing the XtraScheduler’s data to another scheduling application (for instance, MS Outlook). The storage of the scheduler whose data will be imported is accessed via the AppointmentExchanger.Storage property. To import the appointments data, the AppointmentImporter.Import method should be used.
For data synchronization, use classes, different for export and import, which are derived from the AppointmentSynchronizer class. Synchronization provides greater flexibility for data exchange, since it takes advantage of the OutlookID for the appointment (represented by the AppointmentSynchronizer.ForeignIdFieldName mapping).
You can intercept exceptions that occur during export/import by handling the AppointmentExchanger.OnException event, and terminate the process, if required ,by calling the AppointmentExchanger.Terminate method.
For more information, review Synchronization with Microsoft Outlook article.