Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
'Declaration
PublicPropertyMasterPageReferenceEnabledAsBooleanGetSet
'Usage
DiminstanceAsSPWebApplicationDimvalueAsBooleanvalue = instance.MasterPageReferenceEnabled

instance.MasterPageReferenceEnabled = value

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.