SPPersistedCustomWebTemplate Class
Represents a custom Web template that is persisted.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPPersistedCustomWebTemplate
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
<GuidAttribute("AAFADADF-8FD8-4E78-B0B5-80B37E755068")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPPersistedCustomWebTemplate _
Inherits SPPersistedObject
Dim instance As SPPersistedCustomWebTemplate
[GuidAttribute("AAFADADF-8FD8-4E78-B0B5-80B37E755068")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPPersistedCustomWebTemplate : SPPersistedObject
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.