Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPWeb.ParentWebId property

Gets the identifier (ID) of the parent website for the site.

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

public Guid ParentWebId { get; }

Property value

Type: System.Guid
A GUID that identifies the parent website.
© 2015 Microsoft