Share via


SPResourceTrackingRuleCollection.Add method (SPResourceKind, Int32, Int32, Dictionary<String, >)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Add ( _
    kind As SPResourceKind, _
    throttlingLimit As Integer, _
    loggingLimit As Integer, _
    customThrottlingLimits As Dictionary(Of String, SPResourceThrottlingThresholds) _
)
'Usage
Dim instance As SPResourceTrackingRuleCollection
Dim kind As SPResourceKind
Dim throttlingLimit As Integer
Dim loggingLimit As Integer
Dim customThrottlingLimits As Dictionary(Of String, SPResourceThrottlingThresholds)

instance.Add(kind, throttlingLimit, loggingLimit, _
    customThrottlingLimits)
public void Add(
    SPResourceKind kind,
    int throttlingLimit,
    int loggingLimit,
    Dictionary<string, SPResourceThrottlingThresholds> customThrottlingLimits
)

Parameters

See also

Reference

SPResourceTrackingRuleCollection class

SPResourceTrackingRuleCollection members

Add overload

Microsoft.SharePoint.Administration namespace