Share via


AreaManager.GetArea Method

NOTE: This API is now obsolete.

Gets an area.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Shared Function GetArea ( _
    ctx As PortalContext, _
    guidAreaID As Guid _
) As Area
'Usage
Dim ctx As PortalContext
Dim guidAreaID As Guid
Dim returnValue As Area

returnValue = AreaManager.GetArea(ctx, guidAreaID)
[ObsoleteAttribute("This class is obsolete.")]
public static Area GetArea(
    PortalContext ctx,
    Guid guidAreaID
)

Parameters

  • guidAreaID
    Type: System.Guid
    The unique identifier of the area.

Return Value

Type: Microsoft.SharePoint.Portal.SiteData.Area
An Area object that represents the area.

Remarks

The caller must have PortalRight.ViewArea and PortalRight.ViewPages permissions to perform this operation.

See Also

Reference

AreaManager Class

AreaManager Members

Microsoft.SharePoint.Portal.SiteData Namespace