This documentation is archived and is not being maintained.
VersionControlServer::TrackMerges Method (array<Int32>, ItemIdentifier, array<ItemIdentifier>, ItemSpec)
Visual Studio 2013
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: array<ExtendedMerge^>^ TrackMerges( array<int>^ sourceChangesetIds, ItemIdentifier^ sourceItem, array<ItemIdentifier^>^ targetItems, ItemSpec^ pathFilter )
Parameters
- sourceChangesetIds
- Type: array<System::Int32>
An array of source changeset IDs.
- sourceItem
- Type: Microsoft.TeamFoundation.VersionControl.Client::ItemIdentifier
Source item to track merges from (recursive).
- targetItems
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::ItemIdentifier>
Target item to track merges to (recursive).
- pathFilter
- Type: Microsoft.TeamFoundation.VersionControl.Client::ItemSpec
Optional path filter to reduce the scope of source item.
Return Value
Type: array<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.
- 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.
Show: