PerfmonCounterCreatorGetCategoryCounters Method |
Obtain a datatable of counters for a given object type
Namespace:
NetQuarry.Diagnostics
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public DataTable GetCategoryCounters(
string objType,
bool enabledOnly = false
)
Public Function GetCategoryCounters (
objType As String,
Optional enabledOnly As Boolean = false
) As DataTable
Parameters
- objType
- Type: SystemString
The object type for the counter category - enabledOnly (Optional)
- Type: SystemBoolean
Pull either all or just enabled counters
Return Value
Type:
DataTableDatatable of Perfmon Counters
See Also