Skip to main content

OutlookExport.CalendarFolderName Property

Gets or sets the name of the calendar folder (MAPI) from which appointments are retrieved.

Namespace: DevExpress.XtraScheduler.Outlook

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public string CalendarFolderName { get; set; }

Property Value

Type Description
String

A string representing the name of a calendar folder.

Remarks

When the export starts (by calling the AppointmentExporter.Export method), all accessible Outlook (and Exchange via Outlook) calendar folders are searched, for the calendar with the specified name. If a calendar is not found, an exception occurs. You can intercept this exception by handling the AppointmentExchanger.OnException event of the OutlookExport class.

If the CalendarFolderName is not specified, the default calendar is used.

Note

Use the OutlookExchangeHelper.GetOutlookCalendarNames method to obtain valid names.

Implements

See Also