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)
Syntax
'Declaration
Public Function QueryHistory ( _
item As String, _
recursion As RecursionType _
) As IEnumerable(Of Changeset)
public IEnumerable<Changeset> QueryHistory(
string item,
RecursionType recursion
)
public:
IEnumerable<Changeset^>^ QueryHistory(
String^ item,
RecursionType recursion
)
member QueryHistory :
item:string *
recursion:RecursionType -> IEnumerable<Changeset>
public function QueryHistory(
item : String,
recursion : RecursionType
) : IEnumerable<Changeset>
Parameters
item
Type: System.StringThe item.
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeA 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.
.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.