This documentation is archived and is not being maintained.
VersionControlServer.QueryRootBranchObjects Method
Visual Studio 2013
Queries all BranchObject objects that have no parent.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
'Declaration Public Function QueryRootBranchObjects ( _ recursion As RecursionType _ ) As BranchObject()
Parameters
- 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: Microsoft.TeamFoundation.VersionControl.Client.BranchObject()An array of BranchObject objects.
- 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: