GeneralConnectionExecuteQuery Method (String, QueryDataParameters, QueryMacros) |
Note: This API is now obsolete.
Executes query and returns result as a dataset.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("This methods is obsolete, use method ExecuteQuery(QueryParameters).")]
public virtual DataSet ExecuteQuery(
string queryName,
QueryDataParameters parameters = null,
QueryMacros macros = null
)
Parameters
- queryName
- Type: SystemString
Name of the query in format application.class.queryname - parameters (Optional)
- Type: CMS.DataEngineQueryDataParameters
Query parameters - macros (Optional)
- Type: CMS.DataEngineQueryMacros
Query expressions
Return Value
Type:
DataSetSee Also