int = LookupPerfIndexByName(machineName, instanceName )

Returns the counter index corresponding to the specified counter name.


machineName : string

The name of the machine where the specified counter is located. The machine name can be specified by the DNS name or the IP address.

instanceName : string

The full name of the counter.