Delen via


TeamFoundationVersionControlService.QueryMergesExtended Method

QueryMergesExtended is used to find the source changes for a given ItemSpec in specific version range. The result is the set of changes as ExtendedMerge's. Which contain the source of the merge (item, version, deletionId, and change), and also the changeset details.

The changeset is not a completed object. Only the owner, committer, date, comment, and changesetId are filled in. No items, release notes or other data.

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

Syntax

'Declaration
Public Function QueryMergesExtended ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    target As ItemSpec, _
    versionTarget As VersionSpec, _
    versionFrom As VersionSpec, _
    versionTo As VersionSpec, _
    options As QueryMergesExtendedOptions _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryMergesExtended(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec target,
    VersionSpec versionTarget,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    QueryMergesExtendedOptions options
)
public:
TeamFoundationDataReader^ QueryMergesExtended(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    ItemSpec^ target, 
    VersionSpec^ versionTarget, 
    VersionSpec^ versionFrom, 
    VersionSpec^ versionTo, 
    QueryMergesExtendedOptions options
)
member QueryMergesExtended : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        target:ItemSpec * 
        versionTarget:VersionSpec * 
        versionFrom:VersionSpec * 
        versionTo:VersionSpec * 
        options:QueryMergesExtendedOptions -> TeamFoundationDataReader
public function QueryMergesExtended(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    workspaceOwner : String, 
    target : ItemSpec, 
    versionTarget : VersionSpec, 
    versionFrom : VersionSpec, 
    versionTo : VersionSpec, 
    options : QueryMergesExtendedOptions
) : TeamFoundationDataReader

Parameters

  • workspaceOwner
    Type: System.String

    The owner of the workspace, or null.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: ExtendedMerge[] - Set of ExtendedMerges for the item and range specified.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace