SearchProviderGetCompleteWhereCondition Method |
Returns the complete where condition based on the given parameters.
Namespace: CMS.SearchProviderSQLAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static string GetCompleteWhereCondition(
string siteName,
string aliasPath,
string cultureCode,
bool combineWithDefaultCulture,
string where,
bool selectOnlyPublished,
int maxRelativeLevel
)
Parameters
- siteName
- Type: SystemString
Nodes site name - aliasPath
- Type: SystemString
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: SystemString
Nodes culture code - combineWithDefaultCulture
- Type: SystemBoolean
Specifies if return the default culture document when specified culture not found - where
- Type: SystemString
Where condition to use for the data selection - selectOnlyPublished
- Type: SystemBoolean
Select only published nodes - maxRelativeLevel
- Type: SystemInt32
Maximal child level of the selected nodes
Return Value
Type:
StringSee Also