Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPPersistedCustomWebTemplate Class

Represents a custom Web template that is persisted.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPPersistedCustomWebTemplate : SPPersistedObject

The SPPersistedCustomWebTemplate class is a sibling of the SPCustomWebTemplate class, and together, the two classes form one logical class, which inherits from both the SPWebTemplate class and the SPPersistedObject class. An instance of the SPCustomWebTemplate class can be created by supplying an instance of the SPPersistedCustomWebTemplate class. The former class inherits from the SPWebTemplate class and can be used in code that involves an SPWebTemplateCollection

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft