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
工作区域所有者用于限定本地路径。
- source
类型:Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
查找的源项目。
- target
类型:Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
的目标查找组合的。
- options
类型:System.Int32
- maxClientPathLength
类型:System.Int32
最大客户端支持服务器路径长度。
返回值
类型:System.Collections.Generic.List<MergeCandidate>
某些 MergeCandidate 对象。
备注
如果源页和目标无关,引发 NoMergeRelationshipException。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。