Queries the branch object ownership information for a given changeset. Returns the Root branches which the changeset belongs to and the count of items in each branch.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryBranchObjectOwnership ( _
    requestContext As TeamFoundationRequestContext, _
    changesets As Integer(), _
    pathFilter As ItemSpec _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryBranchObjectOwnership(
    TeamFoundationRequestContext requestContext,
    int[] changesets,
    ItemSpec pathFilter
)
public:
TeamFoundationDataReader^ QueryBranchObjectOwnership(
    TeamFoundationRequestContext^ requestContext, 
    array<int>^ changesets, 
    ItemSpec^ pathFilter
)
member QueryBranchObjectOwnership : 
        requestContext:TeamFoundationRequestContext * 
        changesets:int[] * 
        pathFilter:ItemSpec -> TeamFoundationDataReader
public function QueryBranchObjectOwnership(
    requestContext : TeamFoundationRequestContext, 
    changesets : int[], 
    pathFilter : ItemSpec
) : TeamFoundationDataReader
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context. 
- changesets 
 Type: array<System.Int32[]- List of changesets to track. 
- pathFilter 
 Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpec- Optional item filter to apply. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: BranchObjectOnwership[] - List of branch object ownership that match.
.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.