PublishingPage.IsDisconnected property

Gets a Boolean value that indicates whether this PublishingPage object is disconnected from its PageLayout object.

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

public bool IsDisconnected { get; }

Property value

Type: System.Boolean
true if the PublishingPage is disconnected from its PageLayout; otherwise, false.

If a PublishingPage is disconnected from its PageLayout, the Layout property also returns a null reference (Nothing in Visual Basic).

The user must have View permissions on the PublishingPage to retrieve it and to return its property values.