'Declaration
Public Overloads Shared Function GetKey( _ ByVal metricDefinition As MetricDefinition, _ ByVal instanceName As String _ ) As String
public static string GetKey( MetricDefinition metricDefinition, string instanceName )
Parameters
- metricDefinition
- The existing metric definition object to generate a string key for
- instanceName
- The name of the performance counter category instance, or an empty string (""), if the category contains a single instance.
Return Value
The unique string key for this item