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.
- pathFilter
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BranchObjectOwnership>
.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.