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 命名空間