ISchedulerDeleteCalendar Method

Quartz.NET 3.0 API Documentation
Delete the identified ICalendar from the Scheduler.

Namespace:  Quartz
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
Task<bool> DeleteCalendar(
	string calName,
	CancellationToken cancellationToken = null
)

Parameters

calName
Type: SystemString
Name of the calendar.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskBoolean
true if the Calendar was found and deleted.
Remarks

If removal of the
Calendar
would result in ITriggers pointing to non-existent calendars, then a SchedulerException will be thrown.
See Also

Reference