VersionControlServer.QueryMergesWithDetails 方法 (String, VersionSpec, Int32, String, VersionSpec, Int32, VersionSpec, VersionSpec, RecursionType)

获取具有指定的目标项的详细信息的合并历史记录了可选的源。

命名空间:  Microsoft.TeamFoundation.VersionControl.Client
程序集:  Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

语法

声明
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
)

参数

  • sourcePath
    类型:System.String
    选项源项本地或服务器路径。
  • sourceDeletionId
    类型:System.Int32
    选项源项删除 ID。
  • targetPath
    类型:System.String
    必需的目标项的本地或服务器路径。
  • targetDeletionId
    类型:System.Int32
    目标项目中删除 ID。

返回值

类型:Microsoft.TeamFoundation.VersionControl.Client.ChangesetMergeDetails
ChangesetMergeDetails 对象。

.NET Framework 安全性

请参见

参考

VersionControlServer 类

QueryMergesWithDetails 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间