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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringThe workspace name, or null.
workspaceOwner
Type: System.StringThe owner of the workspace, or null.
target
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpecTarget item of the merge to find source merges.
versionTarget
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecThe version of the target being identified.
versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecThe start of the range to retrieve merges.
versionTo
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecThe end of the range to retrieve merges.
options
Type: Microsoft.TeamFoundation.VersionControl.Common.QueryMergesExtendedOptionsOptions for the call.
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
- 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.