RepositoryGetDepots Method
|
Get a list of depots from the repository
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax public IList<Depot> GetDepots()
Public Function GetDepots As IList(Of Depot)
public:
IList<Depot^>^ GetDepots()
member GetDepots : unit -> IList<Depot>
Return Value
Type:
IListDepotA 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.
Examples
To list the depots on the server:
IList<Depot> depots = Repository.GetDepots();
See Also