SPHttpThrottleSettings.RemovePerformanceMonitor Method (String, String)
Removes any performance monitor with the specified counter and category from the PerformanceMonitors collection of the SPHttpThrottleSettings object.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub RemovePerformanceMonitor ( _
category As String, _
counter As String _
)
'Usage
Dim instance As SPHttpThrottleSettings
Dim category As String
Dim counter As String
instance.RemovePerformanceMonitor(category, _
counter)
public void RemovePerformanceMonitor(
string category,
string counter
)
Parameters
category
Type: System.StringThe category of the monitors that are removed.
counter
Type: System.StringThe name of the performance counters that are removed.
Remarks
This overload is useful to remove all performance monitors for all instances of a counter. To remove a monitor for a single instance, use the RemovePerformanceMonitor(String, String, String) overload of this method.
See Also
Reference
SPHttpThrottleSettings Members