Repository5.QueryMergeCandidates 方法

返回变更集需要从源合并目标。

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

语法

声明
<WebMethodAttribute> _
Public Function QueryMergeCandidates ( _
    workspaceName As String, _
    workspaceOwner As String, _
    source As ItemSpec, _
    target As ItemSpec, _
    options As Integer, _
    maxClientPathLength As Integer _
) As List(Of MergeCandidate)
[WebMethodAttribute]
public List<MergeCandidate> QueryMergeCandidates(
    string workspaceName,
    string workspaceOwner,
    ItemSpec source,
    ItemSpec target,
    int options,
    int maxClientPathLength
)

参数

  • workspaceName
    类型:System.String
    用于的工作区域名称限定本地路径。
  • workspaceOwner
    类型:System.String
    工作区域所有者用于限定本地路径。
  • maxClientPathLength
    类型:System.Int32
    最大客户端支持服务器路径长度。

返回值

类型:System.Collections.Generic.List<MergeCandidate>
某些 MergeCandidate 对象。

备注

如果源页和目标无关,引发 NoMergeRelationshipException。

.NET Framework 安全性

请参阅

参考

Repository5 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间