共用方式為


SPQuotaTemplate class

代表套用至部署中的 SharePoint 網站配額可重複使用定義。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPQuota
      Microsoft.SharePoint.Administration.SPQuotaTemplate

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<GuidAttribute("4F0D8E06-2C46-49f6-83E2-94B9925ACBDA")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPQuotaTemplate _
    Inherits SPQuota
'用途
Dim instance As SPQuotaTemplate
[GuidAttribute("4F0D8E06-2C46-49f6-83E2-94B9925ACBDA")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPQuotaTemplate : SPQuota

備註

使用SPWebService類別之QuotaTemplates屬性可傳回SPQuotaTemplateCollection物件,代表伺服器或伺服器陣列的配額範本的集合。若要從集合中傳回單一的配額範本中使用索引器。例如,若集合已指派給變數 myQuotaTemplates,使用myQuotaTemplates[index]以 C# 或 Visual Basic.NET,其中index是範本集合中的索引編號,或是該範本的顯示名稱中的myQuotaTemplates(index) 。

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.

請參閱

參照

SPQuotaTemplate members

Microsoft.SharePoint.Administration namespace