Compartir a través de


Repository4.Merge (Método)

Devuelve la lista de GetOperations para combinaciones pendientes automáticamente resueltas y conflictos para los que automáticamente no se resuelven.

Espacio de nombres:  Microsoft.TeamFoundation.VersionControl.Server
Ensamblado:  Microsoft.TeamFoundation.VersionControl.Server (en Microsoft.TeamFoundation.VersionControl.Server.dll)

Sintaxis

'Declaración
<WebMethodAttribute> _
Public Function Merge ( _
    workspaceName As String, _
    workspaceOwner As String, _
    source As ItemSpec, _
    target As ItemSpec, _
    from As VersionSpec, _
    to As VersionSpec, _
    lockLevel As LockLevel, _
    optionsEx As Integer, _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String(), _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure), _
    <OutAttribute> ByRef conflicts As StreamingCollection(Of Conflict), _
    <OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> Merge(
    string workspaceName,
    string workspaceOwner,
    ItemSpec source,
    ItemSpec target,
    VersionSpec from,
    VersionSpec to,
    LockLevel lockLevel,
    int optionsEx,
    string[] itemPropertyFilters,
    string[] itemAttributeFilters,
    out StreamingCollection<Failure> failures,
    out StreamingCollection<Conflict> conflicts,
    out int changePendedFlags
)

Parámetros

  • workspaceName
    Tipo: System.String
    El nombre del área de trabajo.
  • workspaceOwner
    Tipo: System.String
    El propietario del área de trabajo.
  • optionsEx
    Tipo: System.Int32
    Utilice esto para enviar nuevas y las opciones de combinación al servidor.Los valores están en la enumeración de MergeOptionsEx.
  • itemAttributeFilters
    Tipo: array<System.String[]
    Lista de atributos para devolver para cada operación Get.

Valor devuelto

Tipo: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
Lista de GetOperations para actualizar el cliente.

Seguridad de .NET Framework

Vea también

Referencia

Repository4 Clase

Microsoft.TeamFoundation.VersionControl.Server (Espacio de nombres)