IDriverDelegateJobExists Method

Quartz.NET 3.0 API Documentation
Check whether or not the given job exists.

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

C#
Task<bool> JobExists(
	ConnectionAndTransactionHolder conn,
	JobKey jobKey,
	CancellationToken cancellationToken = null
)

Parameters

conn
Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection
jobKey
Type: QuartzJobKey
The key identifying the job.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskBoolean
true if the job exists, false otherwise
See Also

Reference