共用方式為


TeamFoundationVersionControlService.QueryBranchObjects Method (TeamFoundationRequestContext, ItemIdentifier, RecursionType, PathLength)

Queries for branch objects recursively.

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

Syntax

'Declaration
Public Function QueryBranchObjects ( _
    requestContext As TeamFoundationRequestContext, _
    item As ItemIdentifier, _
    recursion As RecursionType, _
    maxClientPathLength As PathLength _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryBranchObjects(
    TeamFoundationRequestContext requestContext,
    ItemIdentifier item,
    RecursionType recursion,
    PathLength maxClientPathLength
)
public:
TeamFoundationDataReader^ QueryBranchObjects(
    TeamFoundationRequestContext^ requestContext, 
    ItemIdentifier^ item, 
    RecursionType recursion, 
    PathLength maxClientPathLength
)
member QueryBranchObjects : 
        requestContext:TeamFoundationRequestContext * 
        item:ItemIdentifier * 
        recursion:RecursionType * 
        maxClientPathLength:PathLength -> TeamFoundationDataReader
public function QueryBranchObjects(
    requestContext : TeamFoundationRequestContext, 
    item : ItemIdentifier, 
    recursion : RecursionType, 
    maxClientPathLength : PathLength
) : TeamFoundationDataReader

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: BranchObject[] - List of branch objects.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

QueryBranchObjects Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace