PublishingWeb.InheritDefaultPageLayout method

Sets the new page URL token on this PublishingWeb object to be inherited from the parent PublishingWeb object.

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

public void InheritDefaultPageLayout()

After calling this method, the NewPageUrlToken property will return the same value that is specified in the parent PublishingWeb object. The P:Microsoft.SharePoint.Publishing.PublishingWeb.IsInheritingNewPageUrlToken property will be True.