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 ReadOnly Property Site As SPSite
Dim instance As SPWeb
Dim value As SPSite

value = instance.Site

Property Value

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