Delete a scheduler-instance state record.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
Task<int> DeleteSchedulerState( ConnectionAndTransactionHolder conn, string instanceId, CancellationToken cancellationToken = null )
Parameters
- conn
- Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection - instanceId
- Type: SystemString
The instance id. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskInt32The number of deleted rows.
See Also