This documentation is archived and is not being maintained.

VersionControlServer.QueryHistory Method (ItemSpec, Int32)

Gets a collection of Changeset objects matching the specified items and versions.

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

'Declaration
Public Function QueryHistory ( _
	itemSpec As ItemSpec, _
	maxResults As Integer _
) As IEnumerable(Of Changeset)

Parameters

itemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec

The item specifier for the item(s) may be server or local.

maxResults
Type: System.Int32

The maximum number of results to be returned.

Return Value

Type: System.Collections.Generic.IEnumerable(Of Changeset)
A collection of Changeset objects matching the specified items and versions.

Show: