LoadController.GetThrottleRuleDefault method

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

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

Syntax

'Declaration
Public Function GetThrottleRuleDefault ( _
    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.GetThrottleRuleDefault(throttleScope, _
    throttleType)
public int GetThrottleRuleDefault(
    ThrottleScope throttleScope,
    ThrottleType throttleType
)

Parameters

Return value

Type: System.Int32
The throttling rule default value.

Implements

ILoadController.GetThrottleRuleDefault(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