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.
- source
Tipo: Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
La ruta de acceso local y el servidor de origen de la combinación.
- target
Tipo: Microsoft.TeamFoundation.VersionControl.Server.ItemSpec
La ruta de acceso local y el servidor de destino de la combinación.
- from
Tipo: Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
Iniciar la versión para el origen (puede ser NULL).
- to
Tipo: Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
Versión de cierre para el origen (puede ser NULL).
- lockLevel
Tipo: Microsoft.TeamFoundation.VersionControl.Server.LockLevel
El bloqueo a aplicar a los elementos implicados en la combinación.
- 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.
- itemPropertyFilters
Tipo: array<System.String[]
- itemAttributeFilters
Tipo: array<System.String[]
Lista de atributos para devolver para cada operación Get.
- failures
Tipo: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Failure>%
La lista de elementos que no combina.
- conflicts
Tipo: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Conflict>%
La lista de combinaciones pendientes que son no resuelto.
- changePendedFlags
Tipo: System.Int32%
Valor devuelto
Tipo: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
Lista de GetOperations para actualizar el cliente.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.TeamFoundation.VersionControl.Server (Espacio de nombres)