Partager via


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

Gets a listing.

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

Syntaxe

'Déclaration
Public Shared Function GetListing ( _
    ctx As PortalContext, _
    ListingID As Guid _
) As AreaListing
'Utilisation
Dim ctx As PortalContext
Dim ListingID As Guid
Dim returnValue As AreaListing

returnValue = AreaManager.GetListing(ctx, ListingID)
public static AreaListing GetListing (
    PortalContext ctx,
    Guid ListingID
)

Paramètres

  • ctx
    The portal context of the area listing.
  • ListingID
    The identifier of the listing.

Valeur de retour

An AreaListing object that represents the area listing.

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