QueryHistoryParameters.SortAscending Property

By default, the results from a QueryHistory call are from VersionEnd to VersionStart (reverse order).

If you want the results to be returned in ascending order instead (from VersionStart to VersionEnd), set this flag to true.

This flag requires a TFS 2010 or a later version server to have any effect.

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

Syntax

'Declaration
Public Property SortAscending As Boolean
public bool SortAscending { get; set; }
public:
property bool SortAscending {
    bool get ();
    void set (bool value);
}
member SortAscending : bool with get, set
function get SortAscending () : boolean 
function set SortAscending (value : boolean)

Property Value

Type: System.Boolean
True if the flag requires a TFS 2010 or a later version server to have any effect; otherwise, False.

.NET Framework Security

See Also

Reference

QueryHistoryParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace