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