VersionControlServer.QueryRootBranchObjects Method
Queries all BranchObject objects that have no parent.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function QueryRootBranchObjects ( _
recursion As RecursionType _
) As BranchObject()
public BranchObject[] QueryRootBranchObjects(
RecursionType recursion
)
public:
array<BranchObject^>^ QueryRootBranchObjects(
RecursionType recursion
)
member QueryRootBranchObjects :
recursion:RecursionType -> BranchObject[]
public function QueryRootBranchObjects(
recursion : RecursionType
) : BranchObject[]
Parameters
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeThe 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.
.NET Framework Security
- 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.