Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Quota property of the SPSite class gets or sets a quota for the site collection.
Property Value
A Microsoft.SharePoint.Administration.SPQuota object that represents the quota.
Example
The following code example uses the Quota property to apply a quota template to a site collection on the specified virtual server.
This example requires using directives (Imports in Visual Basic) for both the Microsoft.SharePoint and Microsoft.SharePoint.Administration namespaces.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security