TreeProviderSearch Method (String, String, String, String, SearchModeEnum, Boolean, String, Boolean, Boolean, String, String, Boolean) |
Searches specified node and returns results.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax 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
Path of the starting node - cultureCode
- Type: SystemString
Culture code - searchExpression
- Type: SystemString
Search expression - searchMode
- Type: CMS.SearchSearchModeEnum
Search mode - searchChildNodes
- Type: SystemBoolean
Indicates if child nodes should be searched - classNames
- Type: SystemString
List of class names to be searched in format application.class separated by semicolon. - filterResultsByReadPermission
- Type: SystemBoolean
Indicates if search results should be filtered by read permission for the current user. The default value is false - searchOnlyPublished
- Type: SystemBoolean
Indicates if only published documents should be searched - whereCondition
- Type: SystemString
Where condition - orderBy
- Type: SystemString
Order by clause - combineWithDefaultCulture
- Type: SystemBoolean
Indicates if results will be combined with default culture
Return Value
Type:
DataSetSee Also