Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a reference to the current site collection.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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