Remove (delete) the ITrigger with the
given key, and store the new given one - which must be associated
with the same job (the new trigger must have the job name & group specified)
- however, the new trigger need not have the same name as the old trigger.
Namespace: QuartzAssembly: Quartz (in Quartz.dll) Version: 2.2.1.400
Syntax
Parameters
- triggerKey
- Type: Quartz TriggerKey
The ITrigger to be replaced.
- newTrigger
- Type: Quartz ITrigger
The new ITrigger to be stored.
Return Value
Type: Nullable DateTimeOffsetif a ITrigger with the given name and group was not found and removed from the store (and the new trigger is therefore not stored), otherwise the first fire time of the newly scheduled trigger.
See Also