Gets the parent Web site of the specified Web site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public ReadOnly Property ParentWeb As SPWeb
Dim instance As SPWeb
Dim value As SPWeb
value = instance.ParentWeb
public SPWeb ParentWeb { get; }
Property Value
An SPWeb object that represents the parent Web site.