RepositoryExtensions.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, _
    <OutAttribute> ByRef undoOperations As StreamingCollection(Of GetOperation), _
    <OutAttribute> ByRef resolvedConflicts As StreamingCollection(Of Conflict), _
    propertyNameFilters As String(), _
    <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,
    out StreamingCollection<GetOperation> undoOperations,
    out StreamingCollection<Conflict> resolvedConflicts,
    string[] propertyNameFilters,
    out int changePendedFlags
)

参数

  • propertyNameFilters
    类型:array<System.String[]
    要返回的属性列表获取操作。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
GetOperations 必须处理的一组。

.NET Framework 安全性

请参见

参考

RepositoryExtensions 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间