IDriverDelegateUpdateTriggerStatesForJob Method

Quartz.NET 3.0 API Documentation
Update the states of all triggers associated with the given job.

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

C#
Task<int> UpdateTriggerStatesForJob(
	ConnectionAndTransactionHolder conn,
	JobKey jobKey,
	string state,
	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.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskInt32
The number of rows updated
See Also

Reference