Share via


UnsecuredLayoutsPageBase.Site property

Gets a reference to the current site collection.

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

Syntax

'Declaration
Public ReadOnly Property Site As SPSite
    Get
'Usage
Dim instance As UnsecuredLayoutsPageBase
Dim value As SPSite

value = instance.Site
public SPSite Site { get; }

Property value

Type: Microsoft.SharePoint.SPSite
An SPSite that represents the current site collection.

See also

Reference

UnsecuredLayoutsPageBase class

UnsecuredLayoutsPageBase members

Microsoft.SharePoint.WebControls namespace