Partager via


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.

Parameters

name   A string that contains the name.

Property Value

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

Example

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security