Next Topic

Previous Topic

Book Contents

Query

bool Query(string sDeviceName,string sCounterName,string sInstanceName=NULL);

Return values

True if the query was successfully executed, false if an error occurred.

Parameters

Remarks

Device, counter and instance names can be obtained either in the Network Monitor Winperf monitor by clicking on the enumeration button or by using the Windows perfmon.exe application. To retrieve the value call GetResult() after this function completed.