Condividi tramite


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)
Available in Sandboxed Solutions: No

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