Repository.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) _
) 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
)

參數

  • encoding
    類型:System.Int32
    項目的新的程式碼。

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
必須處理的一組 GetOperations。

.NET Framework 安全性

請參閱

參考

Repository 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間