SPQuotaTemplateCollection Class
Represents a collection of SPQuotaTemplate objects.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.Administration.SPQuotaTemplateCollection
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.Administration.SPQuotaTemplateCollection
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. To create a quota template, use the Add method.
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, where index is either the index number of the template in the collection or the display name of the template.