SPWebApplication.AllowRevertFromTemplate Property
SharePoint 2010
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)
Available in Sandboxed Solutions: No
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. |