共用方式為


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

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