Site Property

UnsecuredLayoutsPageBase.Site Property

Gets a reference to the current site collection.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public SPSite Site { get; }

Property Value

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