RepositoryDeleteJob Method
|
Delete a job from the repository
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.265.5426
Syntax public void DeleteJob(
Job job,
Options options
)
Public Sub DeleteJob (
job As Job,
options As Options
)
public:
void DeleteJob(
Job^ job,
Options^ options
)
member DeleteJob :
job : Job *
options : Options -> unit
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