SearchProvider GetCompleteWhereCondition Method Kentico 8.0 API Reference
Returns the complete where condition based on the given parameters.

Namespace: CMS.SearchProviderSQL
Assembly: CMS.SearchProviderSQL (in CMS.SearchProviderSQL.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

siteName
Type: OnlineSystem String
Nodes site name
aliasPath
Type: OnlineSystem String
Path. It may contain % and _ as wild card characters for any number of unknown characters or one unknown character respectively (for MS SQL)
cultureCode
Type: OnlineSystem String
Nodes culture code
combineWithDefaultCulture
Type: OnlineSystem Boolean
Specifies if return the default culture document when specified culture not found
where
Type: OnlineSystem String
Where condition to use for the data selection
selectOnlyPublished
Type: OnlineSystem Boolean
Select only published nodes
maxRelativeLevel
Type: OnlineSystem Int32
Maximal child level of the selected nodes

Return Value

Type: OnlineString
See Also