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)

Syntax

'Declaration
Public ReadOnly Property Zone As SPUrlZone
    Get
'Usage
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

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace