Compartilhar via


LevelHierarchyDataSource classe

Usado pelo objeto LevelHierarchyWebPart para coletar dados.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.HierarchicalDataSourceControl
      Microsoft.SharePoint.Publishing.WebControls.LevelHierarchyDataSource
        Microsoft.SharePoint.Publishing.WebControls.BaseTableOfContentsDataSource

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

Sintaxe

'Declaração
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class LevelHierarchyDataSource _
    Inherits HierarchicalDataSourceControl _
    Implements IDataSource
'Uso
Dim instance As LevelHierarchyDataSource
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class LevelHierarchyDataSource : HierarchicalDataSourceControl, 
    IDataSource

Comentários

Essa é a fonte de dados que usa o LevelHierarchyWebPart para coletar dados. É o intermediário entre o consumidor LevelHierarchyWebPart e a propriedade LevelHierarchyDataSourceView , que é o objeto que realmente reúne os dados. LevelHierarchyDataSource contém propriedades semelhantes para o LevelHierarchyWebPart e passa esses valores de configuração para o LevelHierarchyDataSourceView.

Segurança de thread

Os membros públicos estática (Shared no Visual Basic) desse tipo são seguros para thread. Nenhum membro de instância pode ser garantido como seguro para thread.

Ver também

Referência

LevelHierarchyDataSource membros

Microsoft.SharePoint.Publishing.WebControls namespace