Click or drag to resize

RepositoryDeleteJob Method

Delete a job from the repository

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public void DeleteJob(
	Job job,
	Options options
)

Parameters

job
Type: Perforce.P4Job
The job to be deleted
options
Type: Perforce.P4Options
Only the '-f' flag is valid when deleting an existing job
Examples
To delete job000002 from the repository :
Job u = _repository.GetJob("job000002");
_repository.DeleteJob(u, null);
See Also