LevelHierarchyDataSource Class

Control that is used by the LevelHierarchyWebPart to gather data.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class LevelHierarchyDataSource : HierarchicalDataSourceControl, 

This is the data source that the LevelHierarchyWebPart uses to gather data. It is the intermediary between the consuming LeveHierarhcyWebPart and the LevelHierarchyDataSourceView property, which is the object that actually gathers the data. It contains similar properties to the LevelHierarchyWebPart and passes these configuration values to the LevelHierarchyDataSourceView.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions