TeamFoundationVersionControlService.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
Public Function TrackMerges ( _
requestContext As TeamFoundationRequestContext, _
sourceChangesets As Integer(), _
sourceItem As ItemIdentifier, _
targetItems As List(Of ItemIdentifier), _
pathFilter As ItemSpec _
) As TeamFoundationDataReader
public TeamFoundationDataReader TrackMerges(
TeamFoundationRequestContext requestContext,
int[] sourceChangesets,
ItemIdentifier sourceItem,
List<ItemIdentifier> targetItems,
ItemSpec pathFilter
)
public:
TeamFoundationDataReader^ TrackMerges(
TeamFoundationRequestContext^ requestContext,
array<int>^ sourceChangesets,
ItemIdentifier^ sourceItem,
List<ItemIdentifier^>^ targetItems,
ItemSpec^ pathFilter
)
member TrackMerges :
requestContext:TeamFoundationRequestContext *
sourceChangesets:int[] *
sourceItem:ItemIdentifier *
targetItems:List<ItemIdentifier> *
pathFilter:ItemSpec -> TeamFoundationDataReader
public function TrackMerges(
requestContext : TeamFoundationRequestContext,
sourceChangesets : int[],
sourceItem : ItemIdentifier,
targetItems : List<ItemIdentifier>,
pathFilter : ItemSpec
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
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.ItemSpecOptional path filter to reduce the scope of source item. For example, you may want data aggregated up to $/proj/main, but only track the folder $/proj/main/test.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: ExtendedMerge[] - Array of ExtendedMerge objects that contain merge information.
.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.