Partager via


Repository.Resolve, méthode

Résolvez un conflit spécifique avec une résolution spécifique. Cela est appelé pour get, le Checkin, et les conflits de fusion.

Espace de noms :  Microsoft.TeamFoundation.VersionControl.Server
Assembly :  Microsoft.TeamFoundation.VersionControl.Server (dans Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntaxe

'Déclaration
<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
)

Paramètres

  • workspaceName
    Type : System.String
    Nom de l'espace de travail.
  • ownerName
    Type : System.String
    Le propriétaire de l'espace de travail.
  • conflictId
    Type : System.Int32
    L'ID de conflit à résoudre.
  • newPath
    Type : System.String
    Un nouveau nom de l'élément été en conflit.
  • encoding
    Type : System.Int32
    Un nouvel encodage pour l'élément.

Valeur de retour

Type : Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
Ensemble de GetOperations qui doit être traité.

Sécurité .NET Framework

Voir aussi

Référence

Repository Classe

Microsoft.TeamFoundation.VersionControl.Server, espace de noms