Share via


SPQuota.UserCodeMaximumLevel property

Gets or sets a value that represents the maximum allowed resource usage for this site collection.

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

Syntax

'Declaration
Public Property UserCodeMaximumLevel As Double
    Get
    Set
'Usage
Dim instance As SPQuota
Dim value As Double

value = instance.UserCodeMaximumLevel

instance.UserCodeMaximumLevel = value
public double UserCodeMaximumLevel { get; set; }

Property value

Type: System.Double
A Double value that specifies the limit on the resources that are used. By default, this value is 300.

Remarks

Note that this resource usage limit applies only to user code and sandboxed solutions. The execution of other code is not limited by this value.

See also

Reference

SPQuota class

SPQuota members

Microsoft.SharePoint.Administration namespace