SPSite.Zone property

Gets the URL zone that was specified in the constructor that was used to create the current SPSite object.

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


Public ReadOnly Property Zone As SPUrlZone
Dim instance As SPSite
Dim value As SPUrlZone

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

Property value

Type: Microsoft.SharePoint.Administration.SPUrlZone
An SPUrlZone value that indicates the zone.

See also


SPSite class

SPSite members

Microsoft.SharePoint namespace