VersionControlServer.QueryBranchObjects Method
Queries a BranchObject.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaração
Public Function QueryBranchObjects ( _
rootItem As ItemIdentifier, _
recursion As RecursionType _
) As BranchObject()
public BranchObject[] QueryBranchObjects(
ItemIdentifier rootItem,
RecursionType recursion
)
public:
array<BranchObject^>^ QueryBranchObjects(
ItemIdentifier^ rootItem,
RecursionType recursion
)
member QueryBranchObjects :
rootItem:ItemIdentifier *
recursion:RecursionType -> BranchObject[]
public function QueryBranchObjects(
rootItem : ItemIdentifier,
recursion : RecursionType
) : BranchObject[]
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.
Remarks
To query all branch objects, see QueryRootBranchObjects.
.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.