Sets the maximum number of results to retrieve with this query. If no limit is specified the results will use a dynamic limit.

Namespace: ININ.IceLib.Configuration
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public QuerySettings<TConfigurationObject, TPropertyEnum> SetResultCountLimit(
	int count
)
Visual Basic
Public Function SetResultCountLimit ( _
	count As Integer _
) As QuerySettings(Of TConfigurationObject, TPropertyEnum)

Parameters

count
Type: System..::..Int32
The maximum number of results to retrieve.

Return Value

This QuerySettings<(Of <(<'TConfigurationObject, TPropertyEnum>)>)>.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThe specified count is negative.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.

See Also