'Declaration
Public Overloads Sub Add( _ ByVal categoryName As String, _ ByVal counterName As String, _ ByVal alias As PerfCounterInstanceAlias _ )
public void Add( string categoryName, string counterName, PerfCounterInstanceAlias alias )
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.
- alias
- An alias to use to determine the instance name instead of the instance of the supplied counter.