LoadController.ContainsThrottleRule Method
Indicates whether a throttling rule exists for the given ThrottleScope and ThrottleType objects.
Namespace: Microsoft.SharePoint.BusinessData.SystemSpecific
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function ContainsThrottleRule ( _
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.ContainsThrottleRule(throttleScope, _
throttleType)
public bool ContainsThrottleRule(
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 a throttling rule exists; otherwise, false.
Implements
ILoadController.ContainsThrottleRule(ThrottleScope, ThrottleType)