Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ParentWeb Property
Collapse the table of content
Expand the table of content

SPWeb.ParentWeb Property

Windows SharePoint Services 3

Gets the parent Web site of the specified Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPWeb ParentWeb { get; }

Property Value

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

Community Additions

ADD
Show:
© 2015 Microsoft