IDriverDelegateInsertSchedulerState Method

Quartz.NET 3.0 API Documentation
Insert a scheduler-instance state record.

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

C#
Task<int> InsertSchedulerState(
	ConnectionAndTransactionHolder conn,
	string instanceId,
	DateTimeOffset checkInTime,
	TimeSpan interval,
	CancellationToken cancellationToken = null
)

Parameters

conn
Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection
instanceId
Type: SystemString
The instance id.
checkInTime
Type: SystemDateTimeOffset
The check in time.
interval
Type: SystemTimeSpan
The interval.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskInt32
The number of inserted rows.
See Also

Reference