IDriverDelegateUpdateCalendar Method

Quartz.NET 3.0 API Documentation
Update a calendar.

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

C#
Task<int> UpdateCalendar(
	ConnectionAndTransactionHolder conn,
	string calendarName,
	ICalendar calendar,
	CancellationToken cancellationToken = null
)

Parameters

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

Return Value

Type: TaskInt32
The number of rows updated.
See Also

Reference