IDriverDelegateUpdateTriggerGroupStateFromOtherStates Method

Quartz.NET 3.0 API Documentation
Update all triggers in the given group to the given new state, if they are in one of the given old states.

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

C#
Task<int> UpdateTriggerGroupStateFromOtherStates(
	ConnectionAndTransactionHolder conn,
	GroupMatcher<TriggerKey> matcher,
	string newState,
	string oldState1,
	string oldState2,
	string oldState3,
	CancellationToken cancellationToken = null
)

Parameters

conn
Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB connection
matcher
Type: Quartz.Impl.MatchersGroupMatcherTriggerKey

[Missing <param name="matcher"/> documentation for "M:Quartz.Impl.AdoJobStore.IDriverDelegate.UpdateTriggerGroupStateFromOtherStates(Quartz.Impl.AdoJobStore.ConnectionAndTransactionHolder,Quartz.Impl.Matchers.GroupMatcher{Quartz.TriggerKey},System.String,System.String,System.String,System.String,System.Threading.CancellationToken)"]

newState
Type: SystemString
The new state for the trigger
oldState1
Type: SystemString
One of the old state the trigger must be in
oldState2
Type: SystemString
One of the old state the trigger must be in
oldState3
Type: SystemString
One of the old state the trigger must be in
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskInt32
The number of rows updated
See Also

Reference