Click or drag to resize

RepositoryGetJob Method (String, Options)

Get the record for an existing job from the repository.

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

Parameters

job
Type: SystemString
Job name
options
Type: Perforce.P4Options
There are no valid flags to use when fetching an existing job

Return Value

Type: Job
The Job object if new job was found, null if the requested job does not exist
Examples
Get the record for job 'job000001':
Job job = _repository.GetJob("job000001", null);
See Also