Repository5.Resolve 方法

解决与特定的分辨率下的一个特定冲突。 对于获取、签入和合并冲突调用。

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

语法

声明
<WebMethodAttribute> _
Public Function Resolve ( _
    workspaceName As String, _
    ownerName As String, _
    conflictId As Integer, _
    resolution As Resolution, _
    newPath As String, _
    encoding As Integer, _
    lockLevel As LockLevel, _
    newProperties As PropertyValue(), _
    <OutAttribute> ByRef undoOperations As StreamingCollection(Of GetOperation), _
    <OutAttribute> ByRef resolvedConflicts As StreamingCollection(Of Conflict), _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String(), _
    maxClientPathLength As Integer, _
    <OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> Resolve(
    string workspaceName,
    string ownerName,
    int conflictId,
    Resolution resolution,
    string newPath,
    int encoding,
    LockLevel lockLevel,
    PropertyValue[] newProperties,
    out StreamingCollection<GetOperation> undoOperations,
    out StreamingCollection<Conflict> resolvedConflicts,
    string[] itemPropertyFilters,
    string[] itemAttributeFilters,
    int maxClientPathLength,
    out int changePendedFlags
)

参数

  • newPath
    类型:System.String
    一个新名称冲突的项目。
  • itemPropertyFilters
    类型:array<System.String[]
    列出属性名称返回与获取 ops。
  • itemAttributeFilters
    类型:array<System.String[]
    列出属性名称返回与获取 ops。
  • maxClientPathLength
    类型:System.Int32
    最大客户端支持服务器路径长度。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
设置 GetOperations 需要处理。

.NET Framework 安全性

请参阅

参考

Repository5 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间