Compartilhar via


LoadController.GetThrottleRuleMax Method

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

Namespace:  Microsoft.SharePoint.BusinessData.SystemSpecific
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.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.

Remarks

The default value is the value that applies to external lists and other normally configured external data Web parts. Custom external data Web parts can increase their own limits up to the maximum values.

See Also

Reference

LoadController Class

LoadController Members

Microsoft.SharePoint.BusinessData.SystemSpecific Namespace