다음을 통해 공유


SPQuota Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPQuota
      Microsoft.SharePoint.Administration.SPQuotaTemplate

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<GuidAttribute("0744D79A-CB14-4ba4-8FDA-32161133D87D")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPQuota _
    Inherits SPAutoSerializingObject
'Usage
Dim instance As SPQuota
[GuidAttribute("0744D79A-CB14-4ba4-8FDA-32161133D87D")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPQuota : SPAutoSerializingObject

Remarks

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

Thread Safety

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

See Also

Reference

SPQuota Members

Microsoft.SharePoint.Administration Namespace