Compartilhar via


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

Return Value

Type: System.Boolean
true if a throttling rule exists; otherwise, false.

Implements

ILoadController.ContainsThrottleRule(ThrottleScope, ThrottleType)

See Also

Reference

LoadController Class

LoadController Members

Microsoft.SharePoint.BusinessData.SystemSpecific Namespace