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

Gets an area.

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

语法

声明
Public Shared Function GetArea ( _
    ctx As PortalContext, _
    guidAreaID As Guid _
) As Area
用法
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
)

参数

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

返回值

An Area object that represents the area.

备注

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

另请参阅

参考

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