Update the states of any triggers associated with the given job, that
are the given current state.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task<int> UpdateTriggerStatesForJobFromOtherState( ConnectionAndTransactionHolder conn, JobKey jobKey, string state, string oldState, CancellationToken cancellationToken = null )
Parameters
- conn
- Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection - jobKey
- Type: QuartzJobKey
The key identifying the job. - state
- Type: SystemString
The new state for the triggers - oldState
- Type: SystemString
The old state of the triggers - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskInt32the number of rows updated
See Also