LoadController.OverrideThrottleRuleDefault Method
Overrides the throttling rule default value for the given ThrottleScope and ThrottleType objects.
Namespace: Microsoft.Office.BusinessData.SystemSpecific
Assembly: Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.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.ThrottleScope
The ThrottleScope object.
- throttleType
Type: Microsoft.BusinessData.SystemSpecific.ThrottleType
The ThrottleType object.
- defaultValue
Type: System.Int32
The overridden default value.
Implements
ILoadController.OverrideThrottleRuleDefault(ThrottleScope, ThrottleType, Int32)
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | If the throttle rule does not exist or the defaultValue is greater than the maximum value of the throttle type. |