Метод 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
)
Параметры
throttleScope
Тип: Microsoft.BusinessData.SystemSpecific.ThrottleScopeОбласть заданного регулирования.
throttleType
Тип: Microsoft.BusinessData.SystemSpecific.ThrottleTypeТип заданного регулирования.
Возвращаемое значение
Тип: System.Boolean
true Если правило включено; в противном случае — false
См. также
Справочные материалы
Пространство имен Microsoft.BusinessData.Infrastructure.Throttle