DataQueryBaseTQueryApplyTopN Method |
Applies TOP N settings to the given query if it is more restrictive than the current query settings.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax protected bool ApplyTopN(
int topN,
IDataQuery query
)
Parameters
- topN
- Type: SystemInt32
Top N to apply - query
- Type: CMS.DataEngineIDataQuery
Target query
Return Value
Type:
BooleanReturns true if TOP N was applied to the inner query
See Also