RepositoryGetJob Method (String)
|
Get the record for an existing job from the repository.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax public Job GetJob(
string job
)
Public Function GetJob (
job As String
) As Job
public:
Job^ GetJob(
String^ job
)
member GetJob :
job : string -> Job
Parameters
- job
- Type: SystemString
Job name
Return Value
Type:
JobThe 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");
See Also