Compartilhar via


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)

Syntax

'Declaration
Public ReadOnly Property IsDisconnected As Boolean
    Get
'Usage
Dim instance As PublishingPage
Dim value As Boolean

value = instance.IsDisconnected
public bool IsDisconnected { get; }

Property Value

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

Remarks

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.

See Also

Reference

PublishingPage Class

PublishingPage Members

Microsoft.SharePoint.Publishing Namespace