Share via


LevelHierarchyDataSource.GetView Method

Implements the IDataSource.GetView method.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetView ( _
    viewName As String _
) As DataSourceView
'Usage
Dim instance As LevelHierarchyDataSource
Dim viewName As String
Dim returnValue As DataSourceView

returnValue = instance.GetView(viewName)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public DataSourceView GetView(
    string viewName
)

Parameters

Return Value

Type: System.Web.UI.DataSourceView
a null reference (Nothing in Visual Basic)

Implements

IDataSource.GetView(String)

Remarks

This function does not perform anything and exists to support the DataFormWebPart.

See Also

Reference

LevelHierarchyDataSource Class

LevelHierarchyDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace