This documentation is archived and is not being maintained.

SPQuota Class

Windows SharePoint Services 3

Represents a quota that limits the system resources that are allocated to users.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPQuota : SPAutoSerializingObject

Use the Quota property of the SPSite class to return the quota for a site collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.