Share via


SPHierarchyDataSourceControl Class

Provides hierarchical views of SharePoint sites, lists, and folders.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.HierarchicalDataSourceControl
      Microsoft.SharePoint.WebControls.SPHierarchyDataSourceControl

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

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPHierarchyDataSourceControl _
    Inherits HierarchicalDataSourceControl _
    Implements IHierarchicalDataSource

Dim instance As SPHierarchyDataSourceControl
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPHierarchyDataSourceControl : HierarchicalDataSourceControl, 
    IHierarchicalDataSource

Thread Safety

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

See Also

Reference

SPHierarchyDataSourceControl Members

Microsoft.SharePoint.WebControls Namespace