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