StdAdoDelegateSelectTriggersInState Method

Quartz.NET 3.0 API Documentation
Select all of the triggers in a given state.

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

C#
public virtual Task<IReadOnlyCollection<TriggerKey>> SelectTriggersInState(
	ConnectionAndTransactionHolder conn,
	string state,
	CancellationToken cancellationToken = null
)

Parameters

conn
Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection
state
Type: SystemString
The state the triggers must be in
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskIReadOnlyCollectionTriggerKey
an array of trigger TriggerKeys

Implements

IDriverDelegateSelectTriggersInState(ConnectionAndTransactionHolder, String, CancellationToken)
See Also

Reference