StdAdoDelegateSelectNumTriggersForJob Method

Quartz.NET 3.0 API Documentation
Select the number of triggers associated with a given job.

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

C#
public virtual Task<int> SelectNumTriggersForJob(
	ConnectionAndTransactionHolder conn,
	JobKey jobKey,
	CancellationToken cancellationToken = null
)

Parameters

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

Return Value

Type: TaskInt32
the number of triggers for the given job

Implements

IDriverDelegateSelectNumTriggersForJob(ConnectionAndTransactionHolder, JobKey, CancellationToken)
See Also

Reference