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
throttleScope
Type: Microsoft.BusinessData.SystemSpecific.ThrottleScopeThe ThrottleScope object.
throttleType
Type: Microsoft.BusinessData.SystemSpecific.ThrottleTypeThe ThrottleType object.
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.