'Declaration
Public Overloads Shared Function AddOrGet( _ ByVal categoryName As String, _ ByVal counterName As String _ ) As PerfCounterMetric
public static PerfCounterMetric AddOrGet( string categoryName, string counterName )
Parameters
- categoryName
- The name of the performance counter category (performance object) with which this performance counter is associated.
- counterName
- The name of the performance counter.
Return Value
The Performance Counter Metric object for the specified instance.