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.ConfigurationAssembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public QuerySettings<TConfigurationObject, TPropertyEnum> SetResultCountLimit( QueryResultLimit limit ) |
Visual Basic |
---|
Public Function SetResultCountLimit ( _ limit As QueryResultLimit _ ) As QuerySettings(Of TConfigurationObject, TPropertyEnum) |
Parameters
- limit
- Type: ININ.IceLib.Configuration..::..QueryResultLimit
The non-numeric limit type, such as unlimited or dynamic.
Return Value
This QuerySettings<(Of <(<'TConfigurationObject, TPropertyEnum>)>)>.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | The specified limit is not a valid QueryResultLimit. |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.