Return the list of GetOperations for pending merges automatically resolved and conflicts for the ones that are not automatically resolved.
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, _
    lockLevel As LockLevel, _
    optionsEx As Integer, _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String(), _
    maxClientPathLength As Integer, _
    <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,
    int maxClientPathLength,
    out StreamingCollection<Failure> failures,
    out StreamingCollection<Conflict> conflicts,
    out int changePendedFlags
)
[WebMethodAttribute]
public:
StreamingCollection<GetOperation^>^ Merge(
    String^ workspaceName, 
    String^ workspaceOwner, 
    ItemSpec^ source, 
    ItemSpec^ target, 
    VersionSpec^ from, 
    VersionSpec^ to, 
    LockLevel lockLevel, 
    int optionsEx, 
    array<String^>^ itemPropertyFilters, 
    array<String^>^ itemAttributeFilters, 
    int maxClientPathLength, 
    [OutAttribute] StreamingCollection<Failure^>^% failures, 
    [OutAttribute] StreamingCollection<Conflict^>^% conflicts, 
    [OutAttribute] int% changePendedFlags
)
[<WebMethodAttribute>]
member Merge : 
        workspaceName:string * 
        workspaceOwner:string * 
        source:ItemSpec * 
        target:ItemSpec * 
        from:VersionSpec * 
        to:VersionSpec * 
        lockLevel:LockLevel * 
        optionsEx:int * 
        itemPropertyFilters:string[] * 
        itemAttributeFilters:string[] * 
        maxClientPathLength:int * 
        failures:StreamingCollection<Failure> byref * 
        conflicts:StreamingCollection<Conflict> byref * 
        changePendedFlags:int byref -> StreamingCollection<GetOperation> 
public function Merge(
    workspaceName : String, 
    workspaceOwner : String, 
    source : ItemSpec, 
    target : ItemSpec, 
    from : VersionSpec, 
    to : VersionSpec, 
    lockLevel : LockLevel, 
    optionsEx : int, 
    itemPropertyFilters : String[], 
    itemAttributeFilters : String[], 
    maxClientPathLength : int, 
    failures : StreamingCollection<Failure>, 
    conflicts : StreamingCollection<Conflict>, 
    changePendedFlags : int
) : StreamingCollection<GetOperation>
Parameters
- workspaceName 
 Type: System.String- The workspace name. 
- workspaceOwner 
 Type: System.String- The owner of the workspace. 
- source 
 Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpec- The local/server path of the source of the merge. 
- target 
 Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpec- The local/server path of the target of the merge. 
- from 
 Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpec- Starting version for the source (may be null). 
- to 
 Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpec- Ending version for the source (may be null). 
- lockLevel 
 Type: Microsoft.TeamFoundation.VersionControl.Server.LockLevel- The lock to apply to the items involved in the merge. 
- optionsEx 
 Type: System.Int32- Use this to send new and old merge options to the server. Values are in the MergeOptionsEx enumeration. 
- itemPropertyFilters
 Type: array<System.String[]
- itemAttributeFilters 
 Type: array<System.String[]- List of attributes to return for each get operation. 
- maxClientPathLength 
 Type: System.Int32- The maximum client supported server path length. 
- failures 
 Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Failure>%- The list of items that failed to merge. 
- conflicts 
 Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Conflict>%- The list of pending merges that are unresolved. 
- changePendedFlags
 Type: System.Int32%
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
List of GetOperations for updating the client.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.