Delen via


VersionControlServer.QueryBranchObjects Method

Queries a BranchObject.

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

Syntax

'Declaration
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

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

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace