다음을 통해 공유


SPPersistedCustomWebTemplateCollection Class

Represents a collection of persisted custom Web templates that share a Web service or Web application as parent object.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPPersistedCustomWebTemplate>
    Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPPersistedCustomWebTemplate>
      Microsoft.SharePoint.Administration.SPPersistedCustomWebTemplateCollection

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

Syntax

'Declaration
<GuidAttribute("75C7C4A3-0FC7-4967-98E8-9FDF4FF9A2CA")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPPersistedCustomWebTemplateCollection _
    Inherits SPPersistedChildCollection(Of SPPersistedCustomWebTemplate)
'Usage
Dim instance As SPPersistedCustomWebTemplateCollection
[GuidAttribute("75C7C4A3-0FC7-4967-98E8-9FDF4FF9A2CA")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPPersistedCustomWebTemplateCollection : SPPersistedChildCollection<SPPersistedCustomWebTemplate>

Remarks

Each SPPersistedCustomWebTemplate object contains an SPPersistedFile object.

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.

See Also

Reference

SPPersistedCustomWebTemplateCollection Members

Microsoft.SharePoint.Administration Namespace