Click or drag to resize
TreeProviderGetCompleteWhereCondition Method
Returns the complete where condition based on the given parameters.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
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
Node alias path - 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
Indicates whether node in default culture should be returned if node in specified culture was not found.
where
Type: SystemString
Where condition for the data selection
selectOnlyPublished
Type: SystemBoolean
Select only published nodes.
maxRelativeLevel
Type: SystemInt32
Maximum child level of the selected nodes

Return Value

Type: String
See Also