IDriverDelegateCalendarIsReferenced Method

Quartz.NET 3.0 API Documentation
Check whether or not a calendar is referenced by any triggers.

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

C#
Task<bool> CalendarIsReferenced(
	ConnectionAndTransactionHolder conn,
	string calendarName,
	CancellationToken cancellationToken = null
)

Parameters

conn
Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection.
calendarName
Type: SystemString
The name of the calendar.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskBoolean
true if any triggers reference the calendar, false otherwise
See Also

Reference