PublishingWeb.ParentPublishingWeb property

Gets the parent SPWeb object as a PublishingWeb instance.

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

Syntax

'Declaration
Public ReadOnly Property ParentPublishingWeb As PublishingWeb
    Get
'Usage
Dim instance As PublishingWeb
Dim value As PublishingWeb

value = instance.ParentPublishingWeb
public PublishingWeb ParentPublishingWeb { get; }

Property value

Type: Microsoft.SharePoint.Publishing.PublishingWeb
The parent SPWeb object as a PublishingWeb instance.

See also

Reference

PublishingWeb class

PublishingWeb members

Microsoft.SharePoint.Publishing namespace

ParentWeb