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

Get a list of depots 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 IList<Depot> GetDepots()
Visual Basic
Public Function GetDepots As IList(Of Depot)
Visual C++
public:
IList<Depot^>^ GetDepots()

Return Value

A list containing the matching depots

Remarks


p4 help depots

depots -- Lists defined depots

p4 depots

Lists all depots defined in the server.
Depots takes no arguments.

See Also