Partilhar via


Método Repository5.Resolve

Resolva um conflito específico com uma determinada resolução. Isso é chamado para conflitos de Get, Checkin e Merge.

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

Sintaxe

'Declaração
<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
)

Parâmetros

  • workspaceName
    Tipo: System.String
    O nome do espaço de trabalho.
  • ownerName
    Tipo: System.String
    O proprietário do espaço de trabalho.
  • conflictId
    Tipo: System.Int32
    O ID de conflito a ser resolvido.
  • newPath
    Tipo: System.String
    Um novo nome para o item em conflito.
  • encoding
    Tipo: System.Int32
    Uma nova codificação para o item.
  • itemPropertyFilters
    Tipo: array<System.String[]
    Lista de nomes de propriedade a ser retornada com as operações get.
  • itemAttributeFilters
    Tipo: array<System.String[]
    Lista de nomes de atributo a serem retornados com as operações get.
  • maxClientPathLength
    Tipo: System.Int32
    O comprimento de caminho suporte de servidor do cliente máximo.

Valor de retorno

Tipo: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
Um conjunto de GetOperations que precisa ser processado.

Segurança do .NET Framework

Consulte também

Referência

Repository5 Classe

Namespace Microsoft.TeamFoundation.VersionControl.Server