This documentation is archived and is not being maintained.

SPWeb.ParentWebId Property

Windows SharePoint Services 3

Gets the identifier (ID) of the parent Web site 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 Web site.
Show: