Repository5.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, _
    lockLevel As LockLevel, _
    optionsEx As Integer, _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String(), _
    maxClientPathLength As Integer, _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure), _
    <OutAttribute> ByRef conflicts As StreamingCollection(Of Conflict), _
    <OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> Merge(
    string workspaceName,
    string workspaceOwner,
    ItemSpec source,
    ItemSpec target,
    VersionSpec from,
    VersionSpec to,
    LockLevel lockLevel,
    int optionsEx,
    string[] itemPropertyFilters,
    string[] itemAttributeFilters,
    int maxClientPathLength,
    out StreamingCollection<Failure> failures,
    out StreamingCollection<Conflict> conflicts,
    out int changePendedFlags
)

参数

  • workspaceOwner
    类型:System.String
    工作区域的所有者。
  • optionsEx
    类型:System.Int32
    使用此发送新值和旧合并选项到服务器。值在 MergeOptionsEx 枚举。
  • itemAttributeFilters
    类型:array<System.String[]
    列出属性为每个 get 操作返回。
  • maxClientPathLength
    类型:System.Int32
    最大客户端支持服务器路径长度。

返回值

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

.NET Framework 安全性

请参阅

参考

Repository5 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间