Share via


BaseAreaWebPart.GetSubAreas Method

NOTE: This API is now obsolete.

Obsolete. Gets the listings and subareas of the current category from the number of layers specified.

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

Syntax

'Declaration
<ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")> _
Protected Function GetSubAreas As BaseAreaWebPart.AreaReturnData
'Usage
Dim returnValue As BaseAreaWebPart.AreaReturnData

returnValue = Me.GetSubAreas()
[ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")]
protected BaseAreaWebPart.AreaReturnData GetSubAreas()

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.BaseAreaWebPart.AreaReturnData
The maximum number of layers of data for this query is two.

See Also

Reference

BaseAreaWebPart Class

BaseAreaWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace