IJobStoreRemoveJob Method

Quartz.NET 3.0 API Documentation
Remove (delete) the IJob with the given key, and any ITrigger s that reference it.

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

C#
Task<bool> RemoveJob(
	JobKey jobKey,
	CancellationToken cancellationToken = null
)

Parameters

jobKey
Type: QuartzJobKey

[Missing <param name="jobKey"/> documentation for "M:Quartz.Spi.IJobStore.RemoveJob(Quartz.JobKey,System.Threading.CancellationToken)"]

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Quartz.Spi.IJobStore.RemoveJob(Quartz.JobKey,System.Threading.CancellationToken)"]

Return Value

Type: TaskBoolean
if a IJob with the given name and group was found and removed from the store.
Remarks

If removal of the IJob results in an empty group, the group should be removed from the IJobStore's list of known group names.
See Also

Reference