Click or drag to resize
SearchProviderSearch Method
Searches data and returns results.

Namespace: CMS.SearchProviderSQL
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public DataSet Search(
	string siteName,
	string searchNodePath,
	string cultureCode,
	string searchExpression,
	SearchModeEnum searchMode,
	bool searchChildNodes,
	string classNames,
	bool filterResultsByReadPermission,
	bool searchOnlyPublished,
	string whereCondition,
	string orderBy,
	bool combineWithDefaultCulture
)

Parameters

siteName
Type: SystemString
Site name
searchNodePath
Type: SystemString
Search node path
cultureCode
Type: SystemString
Culture code
searchExpression
Type: SystemString
Search expression
searchMode
Type: CMS.SearchSearchModeEnum
Search mode
searchChildNodes
Type: SystemBoolean
Search child nodes
classNames
Type: SystemString
Class names
filterResultsByReadPermission
Type: SystemBoolean
Filter results by read permission?
searchOnlyPublished
Type: SystemBoolean
Search only published?
whereCondition
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by clause
combineWithDefaultCulture
Type: SystemBoolean
Specifies if return the default culture document when specified culture not found

Return Value

Type: DataSet

Implements

ISearchProviderSearch(String, String, String, String, SearchModeEnum, Boolean, String, Boolean, Boolean, String, String, Boolean)
See Also