Click or drag to resize
QueryInfoProviderGetQueryInfo Method (String, Boolean)
Returns QueryInfo with specified name.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static QueryInfo GetQueryInfo(
	string name,
	bool throwException
)

Parameters

name
Type: SystemString
QueryInfo name
throwException
Type: SystemBoolean
If true, exception is thrown if query does not exist

Return Value

Type: QueryInfo
Query object. Null if the query doesn't exist.
See Also