RepositoryExtensions.TrackMerges 方法
傳回合併而發生從來源項目清單的來源變更集的一組目標項目。 來源和目標項目並沒有合併記錄中有直接的關聯。
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function TrackMerges ( _
sourceChangesets As Integer(), _
sourceItem As ItemIdentifier, _
targetItems As List(Of ItemIdentifier), _
pathFilter As ItemSpec, _
<OutAttribute> ByRef partialTargetItems As StreamingCollection(Of String) _
) As StreamingCollection(Of ExtendedMerge)
[WebMethodAttribute]
public StreamingCollection<ExtendedMerge> TrackMerges(
int[] sourceChangesets,
ItemIdentifier sourceItem,
List<ItemIdentifier> targetItems,
ItemSpec pathFilter,
out StreamingCollection<string> partialTargetItems
)
參數
- sourceChangesets
型別:array<System.Int32[]
來源的變更集的清單。
- sourceItem
型別:Microsoft.TeamFoundation.VersionControl.Server.ItemIdentifier
若要追蹤的來源項目 (遞迴) 會從合併。
- targetItems
型別:System.Collections.Generic.List<ItemIdentifier>
要合併的目標項目 (遞迴) 來追蹤。
- pathFilter
型別:Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
- partialTargetItems
型別:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<String>%
串流處理其中的來源變更集還尚未完全合併的目標項目的集合。
傳回值
型別:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ExtendedMerge>
傳回 StreamingCollection<T>。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。