Share via


TeamFoundationVersionControlService.QueryBranchObjectOwnership 方法

查询特定变更集的分支对象所有权信息。 返回变更集所属的根分支和计数。每个分支中的项目。

命名空间:  Microsoft.TeamFoundation.VersionControl.Server
程序集:  Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

语法

声明
Public Function QueryBranchObjectOwnership ( _
    requestContext As TeamFoundationRequestContext, _
    changesets As Integer(), _
    pathFilter As ItemSpec _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryBranchObjectOwnership(
    TeamFoundationRequestContext requestContext,
    int[] changesets,
    ItemSpec pathFilter
)

参数

  • changesets
    类型:array<System.Int32[]
    列出变更集跟踪。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
的结果 TeamFoundationDataReader 在下面的排序:BranchObjectOnwership[] -列表分支匹配的对象的所有权。

.NET Framework 安全性

请参阅

参考

TeamFoundationVersionControlService 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间