Freigeben über


Repository.Resolve-Methode

Erheben eines bestimmten Konflikt mit einer bestimmten Lösung auf. Dies wird für Get, Einchecken Konflikte und aufgerufen.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<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
)

Parameter

  • conflictId
    Typ: System.Int32
    Die Konflikt-ID um das Problem zu beheben.
  • newPath
    Typ: System.String
    Ein neuer Name für das in Konflikt stehende Element.
  • encoding
    Typ: System.Int32
    Eine neue Codierung für das Element.

Rückgabewert

Typ: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
Ein Satz von GetOperations, die verarbeitet werden muss.

.NET Framework-Sicherheit

Siehe auch

Referenz

Repository Klasse

Microsoft.TeamFoundation.VersionControl.Server-Namespace