Share via


Repository.Merge Method

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function Merge ( _
    workspaceName As String, _
    workspaceOwner As String, _
    source As ItemSpec, _
    target As ItemSpec, _
    from As VersionSpec, _
    to As VersionSpec, _
    options As MergeOptions, _
    lockLevel As LockLevel, _
    optionsEx As Integer, _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure), _
    <OutAttribute> ByRef conflicts As StreamingCollection(Of Conflict) _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> Merge(
    string workspaceName,
    string workspaceOwner,
    ItemSpec source,
    ItemSpec target,
    VersionSpec from,
    VersionSpec to,
    MergeOptions options,
    LockLevel lockLevel,
    int optionsEx,
    out StreamingCollection<Failure> failures,
    out StreamingCollection<Conflict> conflicts
)
[WebMethodAttribute]
public:
StreamingCollection<GetOperation^>^ Merge(
    String^ workspaceName, 
    String^ workspaceOwner, 
    ItemSpec^ source, 
    ItemSpec^ target, 
    VersionSpec^ from, 
    VersionSpec^ to, 
    MergeOptions options, 
    LockLevel lockLevel, 
    int optionsEx, 
    [OutAttribute] StreamingCollection<Failure^>^% failures, 
    [OutAttribute] StreamingCollection<Conflict^>^% conflicts
)
[<WebMethodAttribute>]
member Merge : 
        workspaceName:string * 
        workspaceOwner:string * 
        source:ItemSpec * 
        target:ItemSpec * 
        from:VersionSpec * 
        to:VersionSpec * 
        options:MergeOptions * 
        lockLevel:LockLevel * 
        optionsEx:int * 
        failures:StreamingCollection<Failure> byref * 
        conflicts:StreamingCollection<Conflict> byref -> StreamingCollection<GetOperation> 
public function Merge(
    workspaceName : String, 
    workspaceOwner : String, 
    source : ItemSpec, 
    target : ItemSpec, 
    from : VersionSpec, 
    to : VersionSpec, 
    options : MergeOptions, 
    lockLevel : LockLevel, 
    optionsEx : int, 
    failures : StreamingCollection<Failure>, 
    conflicts : StreamingCollection<Conflict>
) : StreamingCollection<GetOperation>

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace