Partilhar via


ConsoleDataSource.GetHierarchicalView Method

Gets the data source view object for the ConsoleDataSource control.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetHierarchicalView ( _
    viewPath As String _
) As HierarchicalDataSourceView
'Usage
Dim instance As ConsoleDataSource
Dim viewPath As String
Dim returnValue As HierarchicalDataSourceView

returnValue = instance.GetHierarchicalView(viewPath)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public HierarchicalDataSourceView GetHierarchicalView(
    string viewPath
)

Parameters

  • viewPath
    Type: System.String

    The path upon which the view is based.

Return Value

Type: System.Web.UI.HierarchicalDataSourceView

Implements

IHierarchicalDataSource.GetHierarchicalView(String)

See Also

Reference

ConsoleDataSource Class

ConsoleDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace