Compartilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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