Поделиться через


Метод ILoadController.IsThrottleRuleEnabled

Определяет, включено ли правила регулирования для заданного ThrottleScope и ThrottleType объектов.

Пространство имен:  Microsoft.BusinessData.Infrastructure.Throttle
Сборка:  Microsoft.BusinessData (в Microsoft.BusinessData.dll)

Синтаксис

'Декларация
Function IsThrottleRuleEnabled ( _
    throttleScope As ThrottleScope, _
    throttleType As ThrottleType _
) As Boolean
'Применение
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
)

Параметры

Возвращаемое значение

Тип: System.Boolean
true Если правило включено; в противном случае — false

См. также

Справочные материалы

ILoadController интерфейс

Элементы ILoadController

Пространство имен Microsoft.BusinessData.Infrastructure.Throttle