ILoadController.ContainsThrottleRule Method
Determines whether a throttling rule exists for the given ThrottleType object and ThrottleScope object.
Namespace: Microsoft.BusinessData.Infrastructure.Throttle
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function ContainsThrottleRule ( _
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.ContainsThrottleRule(throttleScope, _
throttleType)
bool ContainsThrottleRule(
ThrottleScope throttleScope,
ThrottleType throttleType
)
Parameters
throttleScope
Type: Microsoft.BusinessData.SystemSpecific.ThrottleScopeThe throttle scope for which the throttling rule default value must be returned.
throttleType
Type: Microsoft.BusinessData.SystemSpecific.ThrottleTypeThe throttle type for which the throttling rule default value must be returned.
Return Value
Type: System.Boolean
true if a throttling rule exists for the given ThrottleType and ThrottleScope; otherwise, false.