Queries for branch objects recursively.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryBranchObjects ( _
    item As ItemIdentifier, _
    recursion As RecursionType, _
    maxClientPathLength As Integer _
) As StreamingCollection(Of BranchObject)
[WebMethodAttribute]
public StreamingCollection<BranchObject> QueryBranchObjects(
    ItemIdentifier item,
    RecursionType recursion,
    int maxClientPathLength
)
[WebMethodAttribute]
public:
StreamingCollection<BranchObject^>^ QueryBranchObjects(
    ItemIdentifier^ item, 
    RecursionType recursion, 
    int maxClientPathLength
)
[<WebMethodAttribute>]
member QueryBranchObjects : 
        item:ItemIdentifier * 
        recursion:RecursionType * 
        maxClientPathLength:int -> StreamingCollection<BranchObject> 
public function QueryBranchObjects(
    item : ItemIdentifier, 
    recursion : RecursionType, 
    maxClientPathLength : int
) : StreamingCollection<BranchObject>
Parameters
- item 
 Type: Microsoft.TeamFoundation.VersionControl.Server.ItemIdentifier- Root server path to start from. 
- recursion 
 Type: Microsoft.TeamFoundation.VersionControl.Server.RecursionType- Recursion to use. 
- maxClientPathLength 
 Type: System.Int32- The maximum client supported server path length. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<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.