Clase TableOfContentsDataSource

LevelHierarchyDataSource que se usa para recopilar los datos de la TableOfContentsWebPart.

Jerarquía de la herencia

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

Espacio de nombres:  Microsoft.SharePoint.Publishing.WebControls
Ensamblado:  Microsoft.SharePoint.Publishing (en Microsoft.SharePoint.Publishing.dll)

Sintaxis

'Declaración
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class TableOfContentsDataSource _
    Inherits BaseTableOfContentsDataSource
'Uso
Dim instance As TableOfContentsDataSource
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class TableOfContentsDataSource : BaseTableOfContentsDataSource

Comentarios

Éste es el origen de datos que utiliza el TableOfContentsWebPart para recopilar datos. Es el intermediario entre el consumo de TableOfContentsDataSource y TableOfContentsDataSourceView, que es el objeto que realmente recopila los datos. Contiene propiedades similares a la TableOfContentsWebPart y pasa estos valores de configuración a la TableOfContentsDataSourceView.

Seguridad para subprocesos

Los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancias sean seguros para los subprocesos.

Vea también

Referencia

Miembros TableOfContentsDataSource

Espacio de nombres Microsoft.SharePoint.Publishing.WebControls

TableOfContentsWebPart

TableOfContentsDataSourceView