Share via


LoadController.GetThrottleRuleMax Method

Gets the throttling rule maximum value for the given ThrottleScope and ThrottleType objects.

Namespace:  Microsoft.Office.BusinessData.SystemSpecific
Assembly:  Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.dll)

Syntax

'Declaration
Public Function GetThrottleRuleMax ( _
    throttleScope As ThrottleScope, _
    throttleType As ThrottleType _
) As Integer
'Usage
Dim instance As LoadController
Dim throttleScope As ThrottleScope
Dim throttleType As ThrottleType
Dim returnValue As Integer

returnValue = instance.GetThrottleRuleMax(throttleScope, _
    throttleType)
public int GetThrottleRuleMax(
    ThrottleScope throttleScope,
    ThrottleType throttleType
)

Parameters

Return Value

Type: System.Int32
The throttling rule maximum value.

Implements

ILoadController.GetThrottleRuleMax(ThrottleScope, ThrottleType)

Exceptions

Exception Condition
InvalidOperationException

The throttling rule does not exist.

See Also

Reference

LoadController Class

LoadController Members

Microsoft.Office.BusinessData.SystemSpecific Namespace