This documentation is archived and is not being maintained.

SPWeb.Site Property

Windows SharePoint Services 3

Gets the parent site collection for the Web site.

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

public SPSite Site { get; }

Property Value

Type: Microsoft.SharePoint.SPSite
An SPSite object that represents the parent site.
Show: