Check whether or not a calendar exists.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public virtual Task<bool> CalendarExists( 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: TaskBooleantrue if the trigger exists, false otherwise
Implements
IDriverDelegateCalendarExists(ConnectionAndTransactionHolder, String, CancellationToken)See Also