Returns latest version documents data in a dataset. Result contains coupled data only if classNames are specified.
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
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: System String
Nodes culture code
- combineWithDefaultCulture
- Type: System Boolean
Indicates whether node in default culture should be returned 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 selection
- orderBy
- Type: System String
Order by clause for the data selection
- maxRelativeLevel
- Type: System Int32
Maximum child level of the selected nodes
- selectOnlyPublished
- Type: System Boolean
Select only published nodes
- topN
- Type: System Int32
Limits the number of returned items.
- columns
- Type: System String
Columns to be selected. Must contain mandatory columns (NodeID, NodeLinkedNodeID, DocumentCulture).
- tree
- Type: CMS.DocumentEngine TreeProvider
Tree provider to use
Return Value
Type: TreeNodeDataSetSee Also