SPWebApplication.AllowRevertFromTemplate property
SharePoint 2013
Gets or sets a Boolean value that specifies whether customized sites can be reverted to their base templates.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.BooleanBoolean
true if sites can be reverted to their base templates; otherwise, false. The default value is true.
| Exception | Condition |
|---|---|
| SecurityException | The current user is not a farm administrator. |