Share via


Web.ParentWeb property

Gets the parent website of the specified website.

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

Syntax

'Declaration
Public ReadOnly Property ParentWeb As WebInformation
    Get
'Usage
Dim instance As Web
Dim value As WebInformation

value = instance.ParentWeb
public WebInformation ParentWeb { get; }

Property value

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

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace