Share via


PortalContext.Zone Property

NOTE: This API is now obsolete.

Gets a PortalZone value that indicates the zone of this request.

Namespace:  Microsoft.SharePoint.Portal
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public ReadOnly Property Zone As PortalZone
    Get
'Usage
Dim instance As PortalContext
Dim value As PortalZone

value = instance.Zone
[ObsoleteAttribute("This class is obsolete.")]
public PortalZone Zone { get; }

Property Value

Type: Microsoft.SharePoint.Portal.Topology.PortalZone
A member of the Microsoft.SharePoint.Portal.PortalZone enumeration that indicates the zone of this portal site.

Remarks

A portal site has one URL for each possible zone. You can specify a zone when you get the portal context, in which case this property value will no longer map to the current request.

See Also

Reference

PortalContext Class

PortalContext Members

Microsoft.SharePoint.Portal Namespace