Share via


LoadController.IsThrottleRuleEnabled Method

Determines whether the throttling rule is enabled.

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

Syntax

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

returnValue = instance.IsThrottleRuleEnabled(throttleScope, _
    throttleType)
public bool IsThrottleRuleEnabled(
    ThrottleScope throttleScope,
    ThrottleType throttleType
)

Parameters

Return Value

Type: System.Boolean
true if the throttling rule is enabled; otherwise, false.

Implements

ILoadController.IsThrottleRuleEnabled(ThrottleScope, ThrottleType)

Remarks

If a rule is not enabled, it has no effect on external data Web parts.

See Also

Reference

LoadController Class

LoadController Members

Microsoft.SharePoint.BusinessData.SystemSpecific Namespace