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[]
若要追蹤的變更集的清單。
- pathFilter
型別:Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
傳回值
型別:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<BranchObjectOwnership>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。