次の方法で共有


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

See also

Reference

SPResourceTrackingRuleCollection class

SPResourceTrackingRuleCollection members

Add overload

Microsoft.SharePoint.Administration namespace