Compartilhar via


VersionControlServer.QueryMergesWithDetails Method (String, VersionSpec, Int32, String, VersionSpec, Int32, VersionSpec, VersionSpec, RecursionType, Boolean)

Gets the merge history with details of the specified target item with an optional source.

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

Syntax

'Declaração
Public Function QueryMergesWithDetails ( _
    sourcePath As String, _
    sourceVersion As VersionSpec, _
    sourceDeletionId As Integer, _
    targetPath As String, _
    targetVersion As VersionSpec, _
    targetDeletionId As Integer, _
    versionFrom As VersionSpec, _
    versionTo As VersionSpec, _
    recursion As RecursionType, _
    showAll As Boolean _
) As ChangesetMergeDetails
public ChangesetMergeDetails QueryMergesWithDetails(
    string sourcePath,
    VersionSpec sourceVersion,
    int sourceDeletionId,
    string targetPath,
    VersionSpec targetVersion,
    int targetDeletionId,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    RecursionType recursion,
    bool showAll
)
public:
ChangesetMergeDetails^ QueryMergesWithDetails(
    String^ sourcePath, 
    VersionSpec^ sourceVersion, 
    int sourceDeletionId, 
    String^ targetPath, 
    VersionSpec^ targetVersion, 
    int targetDeletionId, 
    VersionSpec^ versionFrom, 
    VersionSpec^ versionTo, 
    RecursionType recursion, 
    bool showAll
)
member QueryMergesWithDetails : 
        sourcePath:string * 
        sourceVersion:VersionSpec * 
        sourceDeletionId:int * 
        targetPath:string * 
        targetVersion:VersionSpec * 
        targetDeletionId:int * 
        versionFrom:VersionSpec * 
        versionTo:VersionSpec * 
        recursion:RecursionType * 
        showAll:bool -> ChangesetMergeDetails 
public function QueryMergesWithDetails(
    sourcePath : String, 
    sourceVersion : VersionSpec, 
    sourceDeletionId : int, 
    targetPath : String, 
    targetVersion : VersionSpec, 
    targetDeletionId : int, 
    versionFrom : VersionSpec, 
    versionTo : VersionSpec, 
    recursion : RecursionType, 
    showAll : boolean
) : ChangesetMergeDetails

Parameters

  • sourcePath
    Type: System.String
    The local or server path of the optional source item.
  • sourceDeletionId
    Type: System.Int32
    The deletion ID of the optional source item.
  • targetPath
    Type: System.String
    The local or server path of the required target item.
  • targetDeletionId
    Type: System.Int32
    The deletion ID of the target item.
  • showAll
    Type: System.Boolean
    True to include merge history of renamed items. False to not include.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.ChangesetMergeDetails
ChangesetMergeDetails object.

.NET Framework Security

See Also

Reference

VersionControlServer Class

QueryMergesWithDetails Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace