IDriverDelegateSelectTriggersInState 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#
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.
See Also

Reference