Select the total number of jobs stored.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public virtual Task<int> SelectNumJobs( ConnectionAndTransactionHolder conn, CancellationToken cancellationToken = null )
Parameters
- conn
- Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskInt32The total number of jobs stored.
Implements
IDriverDelegateSelectNumJobs(ConnectionAndTransactionHolder, CancellationToken)See Also