This documentation is archived and is not being maintained.

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)

public:
property bool SortAscending {
	bool get ();
	void set (bool value);
}

Property Value

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

Show: