Partager via


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

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

'Déclaration
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 _
) As ChangesetMergeDetails
public ChangesetMergeDetails QueryMergesWithDetails(
    string sourcePath,
    VersionSpec sourceVersion,
    int sourceDeletionId,
    string targetPath,
    VersionSpec targetVersion,
    int targetDeletionId,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    RecursionType recursion
)
public:
ChangesetMergeDetails^ QueryMergesWithDetails(
    String^ sourcePath, 
    VersionSpec^ sourceVersion, 
    int sourceDeletionId, 
    String^ targetPath, 
    VersionSpec^ targetVersion, 
    int targetDeletionId, 
    VersionSpec^ versionFrom, 
    VersionSpec^ versionTo, 
    RecursionType recursion
)
member QueryMergesWithDetails : 
        sourcePath:string * 
        sourceVersion:VersionSpec * 
        sourceDeletionId:int * 
        targetPath:string * 
        targetVersion:VersionSpec * 
        targetDeletionId:int * 
        versionFrom:VersionSpec * 
        versionTo:VersionSpec * 
        recursion:RecursionType -> ChangesetMergeDetails 
public function QueryMergesWithDetails(
    sourcePath : String, 
    sourceVersion : VersionSpec, 
    sourceDeletionId : int, 
    targetPath : String, 
    targetVersion : VersionSpec, 
    targetDeletionId : int, 
    versionFrom : VersionSpec, 
    versionTo : VersionSpec, 
    recursion : RecursionType
) : 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.

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