Partager via


AreaManager.GetArea, méthode (Microsoft.SharePoint.Portal.SiteData)

Gets an area.

Espace de noms : Microsoft.SharePoint.Portal.SiteData
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Shared Function GetArea ( _
    ctx As PortalContext, _
    guidAreaID As Guid _
) As Area
'Utilisation
Dim ctx As PortalContext
Dim guidAreaID As Guid
Dim returnValue As Area

returnValue = AreaManager.GetArea(ctx, guidAreaID)
public static Area GetArea (
    PortalContext ctx,
    Guid guidAreaID
)

Paramètres

  • ctx
    The portal context of the area.
  • guidAreaID
    The unique identifier of the area.

Valeur de retour

An Area object that represents the area.

Remarques

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

Voir aussi

Référence

AreaManager, classe
Membres AreaManager
Microsoft.SharePoint.Portal.SiteData, espace de noms