Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MasterPageReferenceEnabled property
Collapse the table of content
Expand the table of content

SPWebApplication.MasterPageReferenceEnabled property

Gets or sets a Boolean value that specifies whether site administrators can turn on or off dynamic master page referencing for application pages.

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

public bool MasterPageReferenceEnabled { get; set; }

Property value

Type: System.Boolean
Boolean
true if site administrators can turn dynamic master page referencing on or off; otherwise, false.

ExceptionCondition
SecurityException

The current user is not a farm administrator.

Show:
© 2015 Microsoft