I am using Operation Manager SDK to fetch the performance counters from the SCOM server.
In the documentation it's suggests that API(GetMonitoringPerformanceDataReader and GetMonitoringPerformanceData) are now obsolete. So what are other ways to fetch the data from the SCOM Server? Is there any new API available? Can we fetch it through data base query? If we use database query is it the only best way to get the performance counters data?