ParentWebId property
TOC
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:
© 2016 Microsoft