RepositoryExtensions.TrackMerges Method
Returns merges which occurred from a source item for a list of source changesets to a set of target items. The source and target items do not have to be directly related in merge history.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<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
)
[WebMethodAttribute]
public:
StreamingCollection<ExtendedMerge^>^ TrackMerges(
array<int>^ sourceChangesets,
ItemIdentifier^ sourceItem,
List<ItemIdentifier^>^ targetItems,
ItemSpec^ pathFilter,
[OutAttribute] StreamingCollection<String^>^% partialTargetItems
)
[<WebMethodAttribute>]
member TrackMerges :
sourceChangesets:int[] *
sourceItem:ItemIdentifier *
targetItems:List<ItemIdentifier> *
pathFilter:ItemSpec *
partialTargetItems:StreamingCollection<string> byref -> StreamingCollection<ExtendedMerge>
public function TrackMerges(
sourceChangesets : int[],
sourceItem : ItemIdentifier,
targetItems : List<ItemIdentifier>,
pathFilter : ItemSpec,
partialTargetItems : StreamingCollection<String>
) : StreamingCollection<ExtendedMerge>
Parameters
sourceChangesets
Type: array<System.Int32[]List of source changesets.
sourceItem
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemIdentifierSource Item (recursive) to track merges from.
targetItems
Type: System.Collections.Generic.List<ItemIdentifier>Target Item (recursive) to track merges to.
- pathFilter
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
partialTargetItems
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<String>%A Streaming collection of target items where the source changesets have not yet been fully merged.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ExtendedMerge>
Returns StreamingCollection<T>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.