AreaManager.GetListing Method
NOTE: This API is now obsolete.
Gets a listing.
Namespace: Microsoft.SharePoint.Portal.SiteData
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Shared Function GetListing ( _
ctx As PortalContext, _
ListingID As Guid _
) As AreaListing
'Usage
Dim ctx As PortalContext
Dim ListingID As Guid
Dim returnValue As AreaListing
returnValue = AreaManager.GetListing(ctx, _
ListingID)
[ObsoleteAttribute("This class is obsolete.")]
public static AreaListing GetListing(
PortalContext ctx,
Guid ListingID
)
Parameters
- ctx
Type: Microsoft.SharePoint.Portal.PortalContext
The portal context of the area listing.
- ListingID
Type: System.Guid
The identifier of the listing.
Return Value
Type: Microsoft.SharePoint.Portal.SiteData.AreaListing
An AreaListing object that represents the area listing.
Remarks
The caller must have PortalRight.ViewArea and PortalRight.ViewPages permissions to perform this operation.