ILoadController.IsThrottleRuleEnabled Method
Determines whether the throttle rule is enabled for a given ThrottleScope object and ThrottleType object .
Namespace: Microsoft.BusinessData.Infrastructure.Throttle
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function IsThrottleRuleEnabled ( _
throttleScope As ThrottleScope, _
throttleType As ThrottleType _
) As Boolean
'Usage
Dim instance As ILoadController
Dim throttleScope As ThrottleScope
Dim throttleType As ThrottleType
Dim returnValue As Boolean
returnValue = instance.IsThrottleRuleEnabled(throttleScope, _
throttleType)
bool IsThrottleRuleEnabled(
ThrottleScope throttleScope,
ThrottleType throttleType
)
Parameters
throttleScope
Type: Microsoft.BusinessData.SystemSpecific.ThrottleScopeThe given throttle scope.
throttleType
Type: Microsoft.BusinessData.SystemSpecific.ThrottleTypeThe given throttle type.
Return Value
Type: System.Boolean
true if the rule is enabled; otherwise, false