Freigeben über


PortalSiteMapDataSourceSwitch-Klasse

Schaltet die PortalSiteMapDataSource -Objekt, das durch das aktuelle PortalNavigation -Objekt verwendet wird.

Vererbungshierarchie

System.Object
  System.Web.UI.Control
    System.Web.UI.HierarchicalDataSourceControl
      System.Web.UI.WebControls.SiteMapDataSource
        Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapDataSource
          Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapDataSourceSwitch

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class PortalSiteMapDataSourceSwitch _
    Inherits PortalSiteMapDataSource
'Usage
Dim instance As PortalSiteMapDataSourceSwitch
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class PortalSiteMapDataSourceSwitch : PortalSiteMapDataSource

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Die Threadsicherheit von Instanzmembern ist nicht gewährleistet.

Siehe auch

Referenz

PortalSiteMapDataSourceSwitch-Member

Microsoft.SharePoint.Publishing.Navigation-Namespace