Share via


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

Return Value

Type: System.Boolean
true if the rule is enabled; otherwise, false

See Also

Reference

ILoadController Interface

ILoadController Members

Microsoft.BusinessData.Infrastructure.Throttle Namespace