AreaManager.GetListing 方法 (Microsoft.SharePoint.Portal.SiteData)

Gets a listing.

命名空间: Microsoft.SharePoint.Portal.SiteData
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Public Shared Function GetListing ( _
    ctx As PortalContext, _
    ListingID As Guid _
) As AreaListing
用法
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
)

参数

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

返回值

An AreaListing object that represents the area listing.

备注

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

另请参阅

参考

AreaManager 类
AreaManager 成员
Microsoft.SharePoint.Portal.SiteData 命名空间