LoadController.GetThrottleRuleDefault Method
Gets the throttling rule default value for the given ThrottleScope and ThrottleType objects.
Namespace: Microsoft.Office.BusinessData.SystemSpecific
Assembly: Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.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
- throttleScope
Type: Microsoft.BusinessData.SystemSpecific.ThrottleScope
The ThrottleScope object.
- throttleType
Type: Microsoft.BusinessData.SystemSpecific.ThrottleType
The ThrottleType object.
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.