Поделиться через


RepositoryExtensions.QueryBranchObjectOwnership Method

Queries the branch object ownership information for a given changeset Returns the Root branches which the changeset belongs too 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
<WebMethodAttribute> _
Public Function QueryBranchObjectOwnership ( _
    changesets As Integer(), _
    pathFilter As ItemSpec _
) As StreamingCollection(Of BranchObjectOwnership)
[WebMethodAttribute]
public StreamingCollection<BranchObjectOwnership> QueryBranchObjectOwnership(
    int[] changesets,
    ItemSpec pathFilter
)
[WebMethodAttribute]
public:
StreamingCollection<BranchObjectOwnership^>^ QueryBranchObjectOwnership(
    array<int>^ changesets, 
    ItemSpec^ pathFilter
)
[<WebMethodAttribute>]
member QueryBranchObjectOwnership : 
        changesets:int[] * 
        pathFilter:ItemSpec -> StreamingCollection<BranchObjectOwnership> 
public function QueryBranchObjectOwnership(
    changesets : int[], 
    pathFilter : ItemSpec
) : StreamingCollection<BranchObjectOwnership>

Parameters

  • changesets
    Type: array<System.Int32[]

    List of changesets to track.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BranchObjectOwnership>

.NET Framework Security

See Also

Reference

RepositoryExtensions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace