Skip to main content

AppointmentImporter Class

Represents the appointments importer which loads the appointments data from a scheduler application (for instance, MS Outlook) to the Scheduler.

Namespace: DevExpress.XtraScheduler.Exchange

Assembly: DevExpress.XtraScheduler.v24.2.Core.dll

Declaration

public abstract class AppointmentImporter :
    AppointmentExchanger

The following members return AppointmentImporter objects:

Library Related API Members
Cross-Platform Class Library ISchedulerStorageBase.CreateOutlookImporter()
SchedulerStorageBase.CreateOutlookImporter()
WinForms Controls SchedulerDataStorage.CreateOutlookImporter()

Remarks

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.

See Also