Web.ParentWeb property

SharePoint Online

Gets the parent website of the specified website.

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

public WebInformation ParentWeb { get; }

Property value

Type: Microsoft.SharePoint.Client.WebInformation
A Web object that represents the parent website.
Show: