Partager via


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

Gets a GUID for a system area.

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

Syntaxe

'Déclaration
Public Shared Function GetSystemAreaGuid ( _
    ctx As PortalContext, _
    type As SystemArea _
) As Guid
'Utilisation
Dim ctx As PortalContext
Dim type As SystemArea
Dim returnValue As Guid

returnValue = AreaManager.GetSystemAreaGuid(ctx, type)
public static Guid GetSystemAreaGuid (
    PortalContext ctx,
    SystemArea type
)

Paramètres

  • ctx
    The portal context of the area.
  • type
    The type of area.

Valeur de retour

System.Guid object that is the unique identifier for a system 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