Partager via


PortalContext.Zone, propriété (Microsoft.SharePoint.Portal)

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

Espace de noms : Microsoft.SharePoint.Portal
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Zone As PortalZone
'Utilisation
Dim instance As PortalContext
Dim value As PortalZone

value = instance.Zone
public PortalZone Zone { get; }

Valeur de la propriété

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

Remarques

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.

Voir aussi

Référence

PortalContext, classe
Membres PortalContext
Microsoft.SharePoint.Portal, espace de noms