Click or drag to resize
TreeProviderExecuteQuery Method (String, QueryDataParameters, String, String, Int32, String)
Executes query and returns result as a dataset.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
protected TreeNodeDataSet ExecuteQuery(
	string queryName,
	QueryDataParameters parameters,
	string where,
	string orderBy,
	int topN,
	string columns
)

Parameters

queryName
Type: SystemString
Query name in format application.class.queryname
parameters
Type: CMS.DataEngineQueryDataParameters
Query parameters
where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by clause
topN
Type: SystemInt32
Limits the number of returned items.
columns
Type: SystemString
Columns that the result will contain.

Return Value

Type: TreeNodeDataSet
See Also