Share via


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

Return Value

Type: System.Boolean
true if a throttling rule exists for the given ThrottleType and ThrottleScope; otherwise, false.

See Also

Reference

ILoadController Interface

ILoadController Members

Microsoft.BusinessData.Infrastructure.Throttle Namespace