SPQuotaTemplate Class
Represents a reusable definition of a quota that is applied to SharePoint sites in the deployment.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPQuota
Microsoft.SharePoint.Administration.SPQuotaTemplate
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPQuota
Microsoft.SharePoint.Administration.SPQuotaTemplate
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Use the QuotaTemplates property of the SPWebService class to return an SPQuotaTemplateCollection object that represents the collection of quota templates for a server or server farm. Use an indexer to return a single quota template from the collection. For example, if the collection is assigned to a variable named myQuotaTemplates, use myQuotaTemplates[index] in C#, or myQuotaTemplates(index) in Visual Basic .NET, where index is either the index number of the template in the collection or the display name of the template.