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

Gets a GUID for a system area.

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

语法

声明
Public Shared Function GetSystemAreaGuid ( _
    ctx As PortalContext, _
    type As SystemArea _
) As Guid
用法
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
)

参数

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

返回值

System.Guid object that is the unique identifier for a system area.

备注

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

另请参阅

参考

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