StdAdoDelegateDeleteCalendar Method

Quartz.NET 3.0 API Documentation
Delete a calendar.

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

C#
public virtual Task<int> DeleteCalendar(
	ConnectionAndTransactionHolder conn,
	string calendarName,
	CancellationToken cancellationToken = null
)

Parameters

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

Return Value

Type: TaskInt32
the number of rows deleted

Implements

IDriverDelegateDeleteCalendar(ConnectionAndTransactionHolder, String, CancellationToken)
See Also

Reference