Back to Devexpress

AppointmentImporter Class

corelibraries-devexpress-dot-xtrascheduler-dot-exchange-f326fadb.md

latest3.9 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public abstract class AppointmentImporter :
    AppointmentExchanger
vb
Public MustInherit Class AppointmentImporter
    Inherits AppointmentExchanger

The following members return AppointmentImporter objects:

LibraryRelated API Members
Cross-Platform Class LibraryISchedulerStorageBase.CreateOutlookImporter()
SchedulerStorageBase.CreateOutlookImporter()
WinForms ControlsSchedulerDataStorage.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.

Inheritance

Object AppointmentExchanger AppointmentImporter iCalendarImporter

OutlookImport

See Also

AppointmentImporter Members

AppointmentExporter

AppointmentSynchronizer

Synchronization with Microsoft Outlook

DevExpress.XtraScheduler.Exchange Namespace