IJobStoreRemoveCalendar Method

Quartz.NET 3.0 API Documentation
Remove (delete) the ICalendar with the given name.

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

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

Parameters

calName
Type: SystemString
The name of the ICalendar to be removed.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskBoolean
if a ICalendar with the given name was found and removed from the store.
Remarks

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

Reference