Back to Devexpress

SchedulerStorageBase.CreateOutlookExportSynchronizer() Method

corelibraries-devexpress-dot-xtrascheduler-dot-schedulerstoragebase-c2a6b5a9.md

latest5.6 KB
Original Source

SchedulerStorageBase.CreateOutlookExportSynchronizer() Method

Creates an object which allows you to control how MS Outlook’s Calendar is synchronized with data in the storage.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public virtual AppointmentExportSynchronizer CreateOutlookExportSynchronizer()
vb
Public Overridable Function CreateOutlookExportSynchronizer As AppointmentExportSynchronizer

Returns

TypeDescription
AppointmentExportSynchronizer

A DevExpress.XtraScheduler.Exchange.AppointmentExportSynchronizer object which allows MS Outlook’s Calendar to be synchronized with the data in storage.

|

Remarks

The AppointmentSynchronizer object maintains an Outlook appointment identifier via the AppointmentSynchronizer.ForeignIdFieldName mapping. It provides the ability to accomplish synchronization instead of simple export and import operations (for which the AppointmentExporter and AppointmentImporter classes have been constructed).

You can synchronize the data in MS Outlook’s Calendar with the data from the storage using the SchedulerStorageBase.SynchronizeOutlookWithStorage method. After the data is synchronized, MS Outlook’s Calendar will contain a copy of the scheduler storage data.

Use the CreateOutlookExportSynchronizer method to control how data is synchronized. Call this method to create a DevExpress.XtraScheduler.Exchange.AppointmentExportSynchronizer object and subscribe to its events to control individual synchronization operations.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateOutlookExportSynchronizer() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-scheduler-sync-outlook-calendars/CS/SyncWithOutlook/OutlookSynchronizerHelper.cs#L52

csharp
_storage = value;
exportSynchronizer = _storage.CreateOutlookExportSynchronizer();
importSynchronizer = _storage.CreateOutlookImportSynchronizer();

winforms-scheduler-sync-outlook-calendars/VB/SyncWithOutlook/OutlookSynchronizerHelper.vb#L77

vb
_storage = value
exportSynchronizer = _storage.CreateOutlookExportSynchronizer()
importSynchronizer = _storage.CreateOutlookImportSynchronizer()

winforms-scheduler-sync-with-outlook/VB/SyncWithOutlook/Form1.vb#L47

vb
' #Region "#scheduler->outlook"
                Dim synchronizer As AppointmentExportSynchronizer = schedulerControl1.Storage.CreateOutlookExportSynchronizer()
                ' Specify the field that contains appointment identifier used by a third-party application.

Implements

CreateOutlookExportSynchronizer()

See Also

CreateOutlookImportSynchronizer()

SynchronizeOutlookWithStorage(String)

SynchronizeStorageWithOutlook(String)

Synchronization with Microsoft Outlook

AppointmentExporter

AppointmentImporter

SchedulerStorageBase Class

SchedulerStorageBase Members

DevExpress.XtraScheduler Namespace