Share via


VersionControlServer.QueryHistory Method (String, RecursionType, 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 ( _
    item As String, _
    recursion As RecursionType, _
    maxResults As Integer _
) As IEnumerable(Of Changeset)
public IEnumerable<Changeset> QueryHistory(
    string item,
    RecursionType recursion,
    int maxResults
)
public:
IEnumerable<Changeset^>^ QueryHistory(
    String^ item, 
    RecursionType recursion, 
    int maxResults
)
member QueryHistory : 
        item:string * 
        recursion:RecursionType * 
        maxResults:int -> IEnumerable<Changeset> 
public function QueryHistory(
    item : String, 
    recursion : RecursionType, 
    maxResults : int
) : IEnumerable<Changeset>

Parameters

  • maxResults
    Type: System.Int32

    The 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

See Also

Reference

VersionControlServer Class

QueryHistory Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace