共用方式為


SPPersistedCustomWebTemplateCollection class

代表一群持續性共用 Web 服務或 Web 應用程式作為父物件的自訂網站範本。

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)

Syntax

'宣告
<GuidAttribute("75C7C4A3-0FC7-4967-98E8-9FDF4FF9A2CA")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPPersistedCustomWebTemplateCollection _
    Inherits SPPersistedChildCollection(Of SPPersistedCustomWebTemplate)
'用途
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>

備註

每個SPPersistedCustomWebTemplate物件包含SPPersistedFile物件。

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.

請參閱

參照

SPPersistedCustomWebTemplateCollection members

Microsoft.SharePoint.Administration namespace