Partager via


Add Method

The Add method of the SPQuotaTemplateCollection class creates a quota template object in the collection.

Parameters

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

Example

The following code example creates a quota template in the collection of quota templates for the current deployment of Microsoft Windows SharePoint Services.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security