Repository.Merge 方法

返回 GetOperations 列出挂起的合并自动解析的和冲突的不会自动解决的线程以外的。

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

语法

声明
<WebMethodAttribute> _
Public Function Merge ( _
    workspaceName As String, _
    workspaceOwner As String, _
    source As ItemSpec, _
    target As ItemSpec, _
    from As VersionSpec, _
    to As VersionSpec, _
    options As MergeOptions, _
    lockLevel As LockLevel, _
    optionsEx As Integer, _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure), _
    <OutAttribute> ByRef conflicts As StreamingCollection(Of Conflict) _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> Merge(
    string workspaceName,
    string workspaceOwner,
    ItemSpec source,
    ItemSpec target,
    VersionSpec from,
    VersionSpec to,
    MergeOptions options,
    LockLevel lockLevel,
    int optionsEx,
    out StreamingCollection<Failure> failures,
    out StreamingCollection<Conflict> conflicts
)

参数

  • workspaceOwner
    类型:System.String
    工作区域的所有者。
  • optionsEx
    类型:System.Int32
    使用此发送新值和旧合并选项到服务器。值在 MergeOptionsEx 枚举。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
列出更新的客户端 GetOperations。

.NET Framework 安全性

请参阅

参考

Repository 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间