CIM_DeviceErrorCounts is a statistical class containing error-related counters for a logical device. The types of errors are as defined by CCITT (Rec X.733) and ISO (IEC 10164-4).
'Method to reset the error and warning counters. The method takes one parameter as input an integer indicating which counter to reset. For this input parameter, 0 indicates all, 1 indicates a reset of the indeterminate error counter, 2 the critical error counter, 3 the major error counter, 4 the minor error counter and 5 the warning counter. The method returns 0 if successful, 1 if not supported, and any other value if an error occurred. A method is specified so that the logical device's instrumentation, which tabulates the errors and warnings, can also reset its internal processing and counters. In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.'
ResetCounter method is in 1 class (CIM_DeviceErrorCounts) of ROOT\cimv2 and in 2 namespaces
Detailed description of CIM_DeviceErrorCounts properties
Local properties (9) of CIM_DeviceErrorCounts class
'The inherited Name property serves as part of the key for the CIM_DeviceErrorCounts instance. The object is scoped by the logical device to which the statistics apply. '
'CIM_DeviceErrorCounts is a statistical class containing error-related counters for a logical device. The types of errors are as defined by CCITT (Rec X.733) and ISO (IEC 10164-4).'