Click or drag to resize
DataQueryBaseTQueryApplyTopN Method
Applies TOP N settings to the given query if it is more restrictive than the current query settings.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
protected bool ApplyTopN(
	int topN,
	IDataQuery query
)

Parameters

topN
Type: SystemInt32
Top N to apply
query
Type: CMS.DataEngineIDataQuery
Target query

Return Value

Type: Boolean
Returns true if TOP N was applied to the inner query
See Also