Share via


PortalContext.Zone Property

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
Public ReadOnly Property Zone As PortalZone
    Get
'Usage
Dim instance As PortalContext
Dim value As PortalZone

value = instance.Zone
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