|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Represents a reusable definition of a quota that is applied to SharePoint sites in the deployment.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.