This documentation is archived and is not being maintained.

QueryHistoryParameters::MaxResults Property

Set this property to limit the number of results returned by the QueryHistory call.

By default, this property is set to Int32.MaxValue. QueryHistory pages results back from the server on demand. Therefore, limiting your own consumption of the IEnumerable is almost as effective from a performance perspective.

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

public:
property int MaxResults {
	int get ();
	void set (int value);
}

Property Value

Type: System::Int32
The property to limit the number of results returned by the QueryHistory call.

Show: