Click or drag to resize

RepositoryUpdateJob Method

Update the record for a job in the repository

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.255.3501
Syntax
public Job UpdateJob(
	Job job
)

Parameters

job
Type: Perforce.P4Job
Job specification for the job being updated

Return Value

Type: Job
The Job object if new job was saved, null if creation failed
Examples
To update the description of job 'job000001':
Job job = _repository.GetJob("job000001");
job["Description"] += "\n\Updated description";
_repository.UpdateJob("job000001");
See Also