Returns nodes count matching the provided parameters.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- siteName
- Type: System String
Nodes site name
- aliasPath
- Type: System String
Nodes 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: System String
Nodes culture code
- combineWithDefaultCulture
- Type: System Boolean
Indicates whether node in default culture should be counted in if node in specified culture was not found.
- classNames
- Type: System String
List of class names separated by semicolon (e.g.: "cms.article;cms.product")
- where
- Type: System String
Where condition for the data count
- orderBy
- Type: System String
Order by clause for the data counting
- maxRelativeLevel
- Type: System Int32
Maximum child level of the counted nodes
- selectOnlyPublished
- Type: System Boolean
Count only published nodes.
Return Value
Type: Int32See Also