JobStoreSupportRemoveJob Method (JobKey, CancellationToken)

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

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

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

Parameters

jobKey
Type: QuartzJobKey

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

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

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

Return Value

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

Implements

IJobStoreRemoveJob(JobKey, CancellationToken)
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