Select a triggers status (state and next fire time).
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task<TriggerStatus> SelectTriggerStatus( ConnectionAndTransactionHolder conn, TriggerKey triggerKey, CancellationToken cancellationToken = null )
Parameters
- conn
- Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection. - triggerKey
- Type: QuartzTriggerKey
The key identifying the trigger. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskTriggerStatusA TriggerStatus object, or null
See Also