This documentation is archived and is not being maintained.

VersionControlServer::QueryHistory Method (String, RecursionType)

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)

public:
IEnumerable<Changeset^>^ QueryHistory(
	String^ item, 
	RecursionType recursion
)

Parameters

item
Type: System::String

The item.

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client::RecursionType

A flag describing whether history will be recursively queried.

Return Value

Type: System.Collections.Generic::IEnumerable<Changeset>
A collection of Changeset objects matching the specified items and versions.

Show: