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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
item
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemIdentifierRoot server path to start from.
recursion
Type: Microsoft.TeamFoundation.VersionControl.Server.RecursionTypeRecursion to use.
maxClientPathLength
Type: Microsoft.TeamFoundation.VersionControl.Common.PathLengthThe maximum client supported server path length.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: BranchObject[] - List of branch 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.