Compartilhar via


LoadController.OverrideThrottleRuleDefault Method

Overrides 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 Sub OverrideThrottleRuleDefault ( _
    throttleScope As ThrottleScope, _
    throttleType As ThrottleType, _
    defaultValue As Integer _
)
'Usage
Dim instance As LoadController
Dim throttleScope As ThrottleScope
Dim throttleType As ThrottleType
Dim defaultValue As Integer

instance.OverrideThrottleRuleDefault(throttleScope, _
    throttleType, defaultValue)
public void OverrideThrottleRuleDefault(
    ThrottleScope throttleScope,
    ThrottleType throttleType,
    int defaultValue
)

Parameters

  • defaultValue
    Type: System.Int32

    The overridden default value.

Implements

ILoadController.OverrideThrottleRuleDefault(ThrottleScope, ThrottleType, Int32)

Exceptions

Exception Condition
InvalidOperationException

The throttling rule does not exist.

See Also

Reference

LoadController Class

LoadController Members

Microsoft.SharePoint.BusinessData.SystemSpecific Namespace