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

Get the record for an existing depot 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 Depot GetDepot(
	string depot,
	Options options
)
Visual Basic
Public Function GetDepot ( _
	depot As String, _
	options As Options _
) As Depot
Visual C++
public:
Depot^ GetDepot(
	String^ depot, 
	Options^ options
)

Parameters

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

Return Value

The Depot object if depot was found, null if creation failed

See Also