Skip to main content
All docs
V24.1

DXOutlook365Sync.EnableCalendar(String) Method

Enables synchronization for the specified calendar and disables synchronization for other calendars in Calendars.

Namespace: DevExpress.XtraScheduler.Microsoft365Calendar

Assembly: DevExpress.XtraScheduler.v24.1.Microsoft365Calendar.dll

NuGet Package: DevExpress.Scheduler.Core.Desktop.Microsoft365Calendar

Declaration

public void EnableCalendar(
    string calendarId
)

Parameters

Name Type Description
calendarId String

A string value that identifies a specific calendar in Calendars.

Remarks

The EnableCalendar method turns on the EnableSynchronization option of the specified calendar, and turns off this option for other calendars in Calendars.

Use the EnableAllCalendars() method to enable synchronization for all calendars.

See Also