TeamFoundationVersionControlService.QueryBranchObjectOwnership Method

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

  • changesets
    Type: array<System.Int32[]

    List of changesets to track.

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

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace