共用方式為


RepositoryExtensions.QueryBranchObjectOwnership 方法

查詢提供的變更集的分支物件擁有權資訊傳回根分支進行變更集太和項目計數中每一個分支。

命名空間:  Microsoft.TeamFoundation.VersionControl.Server
組件:  Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

語法

'宣告
<WebMethodAttribute> _
Public Function QueryBranchObjectOwnership ( _
    changesets As Integer(), _
    pathFilter As ItemSpec _
) As StreamingCollection(Of BranchObjectOwnership)
[WebMethodAttribute]
public StreamingCollection<BranchObjectOwnership> QueryBranchObjectOwnership(
    int[] changesets,
    ItemSpec pathFilter
)

參數

  • changesets
    型別:array<System.Int32[]
    若要追蹤的變更集的清單。

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BranchObjectOwnership>

.NET Framework 安全性

請參閱

參考

RepositoryExtensions 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間