Delen via


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

  • sourceChangesets
    Type: array<System.Int32[]

    List of source changesets.

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

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace