TrackMerges Method (Int32[], ItemIdentifier, ItemIdentifier[], ItemSpec)

VersionControlServer.TrackMerges Method (Int32(), ItemIdentifier, ItemIdentifier(), ItemSpec)

Gets merges that occurred from a source item to a set of target items, for a list of source Changeset IDs.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Public Function TrackMerges ( _
	sourceChangesetIds As Integer(), _
	sourceItem As ItemIdentifier, _
	targetItems As ItemIdentifier(), _
	pathFilter As ItemSpec _
) As ExtendedMerge()


Type: System.Int32()

An array of source changeset IDs.

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemIdentifier

Source item to track merges from (recursive).

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemIdentifier()

Target item to track merges to (recursive).

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec

Optional path filter to reduce the scope of source item.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.ExtendedMerge()
An array of ExtendedMerge objects representing the changes from the source item to the target item. Returns an empty array if no merge chain exists.

The source and target items need not be directly related. An example of using pathFilter: You may want data aggregated up to $/proj/main, but only track the folder $/proj/main/test.

© 2015 Microsoft