Share via


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