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

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.
Show:
© 2015 Microsoft