Web Property
The Web property of the SPViewStyleCollection class gets the parent site of the collection.
Property Value
A Microsoft.SharePoint.SPWeb object that represents the parent site.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security