This documentation is archived and is not being maintained.

VersionControlServer.QueryBranchObjects Method

Queries a BranchObject.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public 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.

To query all branch objects, see QueryRootBranchObjects.

Show: