SPResourceTrackingRuleCollection.Add method (SPResourceKind, String, Int32, Int32, Dictionary<String, >)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Add ( _
kind As SPResourceKind, _
appliesTo As String, _
throttlingLimit As Integer, _
loggingLimit As Integer, _
customThrottlingLimits As Dictionary(Of String, SPResourceThrottlingThresholds) _
)
'Usage
Dim instance As SPResourceTrackingRuleCollection
Dim kind As SPResourceKind
Dim appliesTo As String
Dim throttlingLimit As Integer
Dim loggingLimit As Integer
Dim customThrottlingLimits As Dictionary(Of String, SPResourceThrottlingThresholds)
instance.Add(kind, appliesTo, throttlingLimit, _
loggingLimit, customThrottlingLimits)
public void Add(
SPResourceKind kind,
string appliesTo,
int throttlingLimit,
int loggingLimit,
Dictionary<string, SPResourceThrottlingThresholds> customThrottlingLimits
)
Parameters
- kind
Type: Microsoft.SharePoint.SPResourceKind
- appliesTo
Type: System.String
- throttlingLimit
Type: System.Int32
- loggingLimit
Type: System.Int32
- customThrottlingLimits
Type: System.Collections.Generic.Dictionary<String, SPResourceThrottlingThresholds>
See also
Reference
SPResourceTrackingRuleCollection class