Click or drag to resize
GeneralConnectionExecuteQuery Method (String, QueryDataParameters, QueryTypeEnum, Boolean)

Note: This API is now obsolete.

Runs the query.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This methods is obsolete, use method ExecuteQuery(QueryParameters).")]
public virtual DataSet ExecuteQuery(
	string queryText,
	QueryDataParameters parameters,
	QueryTypeEnum queryType,
	bool transaction = false
)

Parameters

queryText
Type: SystemString
Query text
parameters
Type: CMS.DataEngineQueryDataParameters
Query parameters
queryType
Type: CMS.DataEngineQueryTypeEnum
Query type
transaction (Optional)
Type: SystemBoolean
If true, connection uses transaction for the query

Return Value

Type: DataSet
See Also