Check whether or not a trigger exists.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task<bool> TriggerExists( 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: TaskBooleanthe number of rows updated
See Also