Partager via


SPQuota Class

The SPQuota class represents a quota that limits the system resources allocated to users.

System.Object

   Microsoft.SharePoint.Administration.SPQuota

Public Constructors

The following table shows the public constructors of the SPQuota class and a brief description of each.

Name Description
SPQuota Initializes a new instance of the SPQuota class.

Public Properties

The following table shows the public properties of the SPQuota class, the data type of each property, and a brief description of each.

Name Data Type Description
InvitedUserMaximumLevel Int32 Gets or sets the maximum number of users who can be invited to the site collection when the account mode for Active Directory directory service is enabled.
QuotaId UInt16 Gets or sets the ID for the quota.
StorageMaximumLevel Int64 Gets or sets a limit on all disk space used by the site collection.
StorageWarningLevel Int64 Gets or sets a storage warning level for when administrators of the site collection receive advance notice before available storage is expended.

Thread Safety

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

Remarks

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

Requirements

Namespace: Microsoft.SharePoint.Administration

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security