Resolve a specific conflict with a specific resolution. This is called for Get, Checkin, and Merge conflicts.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function Resolve ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    ownerName As String, _
    conflictId As Integer, _
    resolution As Resolution, _
    newPath As String, _
    encoding As Integer, _
    lockLevel As LockLevel, _
    itemAttributeFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader Resolve(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string ownerName,
    int conflictId,
    Resolution resolution,
    string newPath,
    int encoding,
    LockLevel lockLevel,
    string[] itemAttributeFilters
)
public:
TeamFoundationDataReader^ Resolve(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ ownerName, 
    int conflictId, 
    Resolution resolution, 
    String^ newPath, 
    int encoding, 
    LockLevel lockLevel, 
    array<String^>^ itemAttributeFilters
)
member Resolve : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        ownerName:string * 
        conflictId:int * 
        resolution:Resolution * 
        newPath:string * 
        encoding:int * 
        lockLevel:LockLevel * 
        itemAttributeFilters:string[] -> TeamFoundationDataReader
public function Resolve(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    ownerName : String, 
    conflictId : int, 
    resolution : Resolution, 
    newPath : String, 
    encoding : int, 
    lockLevel : LockLevel, 
    itemAttributeFilters : String[]
) : TeamFoundationDataReader
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context. 
- workspaceName 
 Type: System.String- The name of the workspace. 
- ownerName 
 Type: System.String- The owner of the workspace. 
- conflictId 
 Type: System.Int32- The conflict ID to resolve. 
- resolution 
 Type: Microsoft.TeamFoundation.VersionControl.Server.Resolution- How to resolve the conflict. 
- newPath 
 Type: System.String- A new name for the conflicted item. 
- encoding 
 Type: System.Int32- A new encoding for the item. 
- lockLevel 
 Type: Microsoft.TeamFoundation.VersionControl.Server.LockLevel- The LockLevel to use for newly pended changes. 
- itemAttributeFilters 
 Type: array<System.String[]- List of attributes to return with get operations. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: GetOperation[] - A set of GetOperations that must be processed. GetOperation[] - The set of undo operations that must be executed. Conflict[] - The set of conflictIds besides the one passed in that were resolved.
.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.