DISCOVER_PERFORMANCE_COUNTERS Rowset

Returns the value of one or more performance counters. It does not support counters that return information about usage over time (such as disk reads per second and percentage of CPU usage).

Applies to: tabular models, multidimensional models

Rowset Columns

The DISCOVER_PERFORMANCE_COUNTERS rowset contains the following columns.

Column name Type indicator Restriction Description
PERF_COUNTER_NAME DBTYPE_WSTR Required The name of the performance counter.
PERF_COUNTER_VALUE DBTYPE_DOUBLE The value of the performance counter.

This schema rowset is not sorted.

Using ADOMD.NET to return the rowset

When using ADOMD.NET and the schema rowset to retrieve metadata, you can use either the GUID or string to reference a schema rowset object in the GetSchemaDataSet method. For more information, see Working with Schema Rowsets in ADOMD.NET.

The following table provides the GUID and string values that identify this rowset.

Argument Value
GUID a07ccd2e-8148-11d0-87bb-00c04fc33942
ADOMDNAME PerformanceCounters

See Also

XML for Analysis Schema Rowsets