PublishingSite.Site Property

Gets the SPSite object that is wrapped by this PublishingSite instance.

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

Syntax

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

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

Property Value

Type: Microsoft.SharePoint.SPSite
The SPSite that is wrapped by this PublishingSite instance.

Remarks

The PublishingSite object wraps the SPSite object. This property directly exposes the underlying SPSite object so that you can easily access additional SPSite object functionality.

See Also

Reference

PublishingSite Class

PublishingSite Members

Microsoft.SharePoint.Publishing Namespace

PublishingSite