Repository.QueryMergesWithDetails Method
Returns merge with details history.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryMergesWithDetails ( _
workspaceName As String, _
workspaceOwner As String, _
source As ItemSpec, _
versionSource As VersionSpec, _
target As ItemSpec, _
versionTarget As VersionSpec, _
versionFrom As VersionSpec, _
versionTo As VersionSpec, _
maxChangesets As Integer, _
showAll As Boolean _
) As ChangesetMergeDetails
[WebMethodAttribute]
public ChangesetMergeDetails QueryMergesWithDetails(
string workspaceName,
string workspaceOwner,
ItemSpec source,
VersionSpec versionSource,
ItemSpec target,
VersionSpec versionTarget,
VersionSpec versionFrom,
VersionSpec versionTo,
int maxChangesets,
bool showAll
)
[WebMethodAttribute]
public:
ChangesetMergeDetails^ QueryMergesWithDetails(
String^ workspaceName,
String^ workspaceOwner,
ItemSpec^ source,
VersionSpec^ versionSource,
ItemSpec^ target,
VersionSpec^ versionTarget,
VersionSpec^ versionFrom,
VersionSpec^ versionTo,
int maxChangesets,
bool showAll
)
[<WebMethodAttribute>]
member QueryMergesWithDetails :
workspaceName:string *
workspaceOwner:string *
source:ItemSpec *
versionSource:VersionSpec *
target:ItemSpec *
versionTarget:VersionSpec *
versionFrom:VersionSpec *
versionTo:VersionSpec *
maxChangesets:int *
showAll:bool -> ChangesetMergeDetails
public function QueryMergesWithDetails(
workspaceName : String,
workspaceOwner : String,
source : ItemSpec,
versionSource : VersionSpec,
target : ItemSpec,
versionTarget : VersionSpec,
versionFrom : VersionSpec,
versionTo : VersionSpec,
maxChangesets : int,
showAll : boolean
) : ChangesetMergeDetails
Parameters
workspaceName
Type: System.StringWorkspace name if local paths are specified.
workspaceOwner
Type: System.StringWorkspace owner if local paths are specified.
source
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpecIf not null, changes not merged from the given source are filtered out.
versionSource
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecVersionSpec that qualifies source ItemSpec.
target
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemSpecIf not null, changes not merged to the given target are filtered out.
versionTarget
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecVersionSpec that qualifies target ItemSpec.
versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecOldest target changeset to return, or null for epoch.
versionTo
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecNewest target changeset to return or null for latest.
maxChangesets
Type: System.Int32Maximum number of target changesets to return.
showAll
Type: System.BooleanIndicates whether to include merge history of renamed items.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Server.ChangesetMergeDetails
Returns ChangesetMergeDetails.
.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.