LoadController.OverrideThrottleRuleDefault Method
Overrides the throttling rule default value for the given ThrottleScope and ThrottleType objects.
Namespace: Microsoft.SharePoint.BusinessData.SystemSpecific
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub OverrideThrottleRuleDefault ( _
throttleScope As ThrottleScope, _
throttleType As ThrottleType, _
defaultValue As Integer _
)
'Usage
Dim instance As LoadController
Dim throttleScope As ThrottleScope
Dim throttleType As ThrottleType
Dim defaultValue As Integer
instance.OverrideThrottleRuleDefault(throttleScope, _
throttleType, defaultValue)
public void OverrideThrottleRuleDefault(
ThrottleScope throttleScope,
ThrottleType throttleType,
int defaultValue
)
Parameters
throttleScope
Type: Microsoft.BusinessData.SystemSpecific.ThrottleScopeThe ThrottleScope object.
throttleType
Type: Microsoft.BusinessData.SystemSpecific.ThrottleTypeThe ThrottleType object.
defaultValue
Type: System.Int32The overridden default value.
Implements
ILoadController.OverrideThrottleRuleDefault(ThrottleScope, ThrottleType, Int32)
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The throttling rule does not exist. |