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
)
参数
- workspaceName
类型:System.String
工作区域的名称。
- workspaceOwner
类型:System.String
工作区域的所有者。
- source
类型:Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
合并源中的本地/服务器路径。
- target
类型:Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
合并目标中的本地/服务器路径。
- from
类型:Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
启动源的版本 (可能为空)。
- to
类型:Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
源结束版本 (可能为空)。
- lockLevel
类型:Microsoft.TeamFoundation.VersionControl.Server.LockLevel
应用的锁。在合并涉及的项目。
- optionsEx
类型:System.Int32
使用此发送新值和旧合并选项到服务器。值在 MergeOptionsEx 枚举。
- itemPropertyFilters
类型:array<System.String[]
- itemAttributeFilters
类型:array<System.String[]
列出属性为每个 get 操作返回。
- maxClientPathLength
类型:System.Int32
最大客户端支持服务器路径长度。
- failures
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Failure>%
无法将项目的列表。
- conflicts
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Conflict>%
无法解析的挂起的组合列表。
- changePendedFlags
类型:System.Int32%
返回值
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
列出更新的客户端 GetOperations。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。