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)

'Declaration
Public ReadOnly Property Site As SPSite
	Get
'Usage
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.
Show: