This topic has not yet been rated - Rate this topic

SPPersistedCustomWebTemplate Class

Represents a custom Web template that is persisted.

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)
Available in Sandboxed Solutions: No
[GuidAttribute("AAFADADF-8FD8-4E78-B0B5-80B37E755068")]
[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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ