This documentation is archived and is not being maintained.
VersionControlServer::QueryBranchObjects Method
Visual Studio 2013
Queries a BranchObject.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: array<BranchObject^>^ QueryBranchObjects( ItemIdentifier^ rootItem, RecursionType recursion )
Parameters
- rootItem
- Type: Microsoft.TeamFoundation.VersionControl.Client::ItemIdentifier
The item identifier of the BranchObject to traverse.
- recursion
- Type: Microsoft.TeamFoundation.VersionControl.Client::RecursionType
The number of levels to traverse. None will only return the branch object. OneLevel will return children. Full will return all descendants.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client::BranchObject>An array of BranchObject objects.
To query all branch objects, see QueryRootBranchObjects.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: