JobStoreSupportCalendarExists Method (String, CancellationToken)

Quartz.NET 3.0 API Documentation
Determine whether a ICalendar with the given identifier already exists within the scheduler.

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

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

Parameters

calName
Type: SystemString
the identifier to check for
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskBoolean
true if a calendar exists with the given identifier

Implements

IJobStoreCalendarExists(String, CancellationToken)
Remarks

See Also

Reference