Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the set of changesets that must be merged from source to target.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryMergeCandidates ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    source As ItemSpec, _
    target As ItemSpec, _
    options As MergeOptionsEx _
) As List(Of MergeCandidate)
public List<MergeCandidate> QueryMergeCandidates(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec source,
    ItemSpec target,
    MergeOptionsEx options
)
public:
List<MergeCandidate^>^ QueryMergeCandidates(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    ItemSpec^ source, 
    ItemSpec^ target, 
    MergeOptionsEx options
)
member QueryMergeCandidates : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        source:ItemSpec * 
        target:ItemSpec * 
        options:MergeOptionsEx -> List<MergeCandidate> 
public function QueryMergeCandidates(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    workspaceOwner : String, 
    source : ItemSpec, 
    target : ItemSpec, 
    options : MergeOptionsEx
) : List<MergeCandidate>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringWorkspace name that is used to qualify local paths.
workspaceOwner
Type: System.StringWorkspace owner used to qualify local paths.
source
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpecSource item(s) to find.
target
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpecTarget in which to find merges.
Return Value
Type: System.Collections.Generic.List<MergeCandidate>
Array of MergeCandidate objects.
Remarks
If source and target are not related, throws a NoMergeRelationshipException.
.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.