Share via


SPWebApplication.AllowOMCodeOverrideThrottleSettings property

Gets or sets a Boolean value that specifies whether custom object model code can override the throttle settings.

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

Syntax

'Declaration
Public Property AllowOMCodeOverrideThrottleSettings As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.AllowOMCodeOverrideThrottleSettings

instance.AllowOMCodeOverrideThrottleSettings = value
public bool AllowOMCodeOverrideThrottleSettings { get; set; }

Property value

Type: System.Boolean
Boolean
true if custom code can override throttle settings; otherwise, false.

Exceptions

Exception Condition
SecurityException

The current user is not a farm administrator.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace