Back to Devexpress

DXOutlook365Sync.EnableCalendar(String) Method

windowsforms-devexpress-dot-xtrascheduler-dot-microsoft365calendar-dot-dxoutlook365sync-dot-enablecalendar-x28-system-dot-string-x29.md

latest2.6 KB
Original Source

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

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

Declaration

csharp
public void EnableCalendar(
    string calendarId
)
vb
Public Sub EnableCalendar(
    calendarId As String
)

Parameters

NameTypeDescription
calendarIdString

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

Synchronization with Microsoft 365 Calendars

EnableAllCalendars()

SynchronizeCalendarsAsync()

DXOutlook365Sync Class

DXOutlook365Sync Members

DevExpress.XtraScheduler.Microsoft365Calendar Namespace