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)
Syntax
'Declaration
Public Function QueryHistory ( _
itemSpec As ItemSpec, _
maxResults As Integer _
) As IEnumerable(Of Changeset)
public IEnumerable<Changeset> QueryHistory(
ItemSpec itemSpec,
int maxResults
)
public:
IEnumerable<Changeset^>^ QueryHistory(
ItemSpec^ itemSpec,
int maxResults
)
member QueryHistory :
itemSpec:ItemSpec *
maxResults:int -> IEnumerable<Changeset>
public function QueryHistory(
itemSpec : ItemSpec,
maxResults : int
) : IEnumerable<Changeset>
Parameters
itemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpecThe item specifier for the item(s) may be server or local.
maxResults
Type: System.Int32The maximum number of results to be returned.
Return Value
Type: System.Collections.Generic.IEnumerable<Changeset>
A collection of Changeset objects matching the specified items and versions.
.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.