SPWebApplication.MasterPageReferenceEnabled property
SharePoint 2013
Gets or sets a Boolean value that specifies whether site administrators can turn on or off dynamic master page referencing for application pages.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.BooleanBoolean
true if site administrators can turn dynamic master page referencing on or off; otherwise, false.
| Exception | Condition |
|---|---|
| SecurityException | The current user is not a farm administrator. |