VariationDataSource.GetHierarchicalView Method
Gets the named data source view associated with the data source control.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Protected Overrides Function GetHierarchicalView ( _
viewName As String _
) As HierarchicalDataSourceView
'Usage
Dim viewName As String
Dim returnValue As HierarchicalDataSourceView
returnValue = Me.GetHierarchicalView(viewName)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
protected override HierarchicalDataSourceView GetHierarchicalView(
string viewName
)
Parameters
viewName
Type: System.StringThe name of the [DataSourceView] to get. In data source controls that support only one view, such as this class, this parameter is ignored.
Return Value
Type: System.Web.UI.HierarchicalDataSourceView
Returns the named [DataSourceView] associated with the [DataSourceControl].