Back to Devexpress

AppointmentSynchronizer.Synchronize() Method

corelibraries-devexpress-dot-xtrascheduler-dot-exchange-dot-appointmentsynchronizer-ee3234ed.md

latest3.7 KB
Original Source

AppointmentSynchronizer.Synchronize() Method

Executes the appointment synchronization process.

Namespace : DevExpress.XtraScheduler.Exchange

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public virtual void Synchronize()
vb
Public Overridable Sub Synchronize

Remarks

The method performs a synchronization between MS Outlook calendar and scheduler appointment storage. Use it if you need a fine control over the synchronization process and synchronize the appointments manually, operating with the AppointmentSynchronizer object.

Tip

A complete sample project is available in the DevExpress Code Examples database at https://supportcenter.devexpress.com/ticket/details/t158895/winforms-scheduler-synchronize-appointments-with-microsoft-outlook.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Synchronize() 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#L150

csharp
importSynchronizer.Synchronize();
changedAppointments.Clear();

winforms-scheduler-sync-with-outlook/CS/SyncWithOutlook/Form1.cs#L56

csharp
// Perform the operation.
synchronizer.Synchronize();
#endregion #scheduler->outlook

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

vb
importSynchronizer.Synchronize()
changedAppointments.Clear()

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

vb
' Perform the operation.
                synchronizer.Synchronize()
' #End Region ' #scheduler->outlook

See Also

Synchronization with Microsoft Outlook

AppointmentSynchronizer Class

AppointmentSynchronizer Members

DevExpress.XtraScheduler.Exchange Namespace