[This is preliminary documentation and is subject to change.]

Get the record for an existing job from the repository.

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)

Syntax

C#
public Job GetJob(
	string job,
	Options options
)
Visual Basic
Public Function GetJob ( _
	job As String, _
	options As Options _
) As Job
Visual C++
public:
Job^ GetJob(
	String^ job, 
	Options^ options
)

Parameters

job
Type: System..::..String
Job name
options
Type: Perforce.P4..::..Options
There are no valid flags to use when fetching an existing job

Return Value

The Job object if new job was found, null if creation failed

See Also