Item(String) Property

The Item property of the SPQuotaTemplateCollection class gets or sets a quota template object with the specified name in the collection.

[C#] In C#, this property is an indexer for the SPQuotaTemplateCollection class.


name A string that contains the name.

Property Value

A Microsoft.SharePoint.Administration.SPQuotaTemplate object that represents the quota template.


The following code example applies a quota template to a specified site collection.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security