CIM_DeviceErrorCounts class
The CIM_DeviceErrorCounts class is a statistical class that contains error-related counters for a logical device. The types of errors are defined by CCITT (Rec X.733) and ISO (IEC 10164-4).
Important
The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
[Abstract, UUID("{117FDB8C-D025-11d2-85F5-0000F8102E5F}"), AMENDMENT]
class CIM_DeviceErrorCounts : CIM_StatisticalInformation
{
string Caption;
string Description;
uint64 CriticalErrorCount;
string DeviceCreationClassName;
string DeviceID;
string Name;
uint64 IndeterminateErrorCount;
uint64 MajorErrorCount;
uint64 MinorErrorCount;
string SystemCreationClassName;
string SystemName;
uint64 WarningCount;
};
Members
The CIM_DeviceErrorCounts class has these types of members:
Methods
The CIM_DeviceErrorCounts class has these methods.
Method | Description |
---|---|
ResetCounter | Resets the error and warning counters. Not implemented by WMI. |
Properties
The CIM_DeviceErrorCounts class has these properties.
-
Caption
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MaxLen (64)
Short textual description for the statistic or metric.
This property is inherited from CIM_StatisticalInformation.
-
-
CriticalErrorCount
-
-
Data type: uint64
-
Access type: Read-only
-
Qualifiers: MappingStrings ("MIF.DMTF|Operational State|003.7")
Count of the critical errors.
For more information about using uint64 values in scripts, see Scripting in WMI.
-
-
Description
-
-
Data type: string
-
Access type: Read-only
Textual description of the statistic or metric.
This property is inherited from CIM_StatisticalInformation.
-
-
DeviceCreationClassName
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: Propagated ("CIM_LogicalDevice.CreationClassName"), Key, MaxLen (256)
The scoping device's CreationClassName property.
-
-
DeviceID
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: Propagated ("CIM_LogicalDevice.DeviceID"), Key, MaxLen (64)
The scoping device's identifier.
-
-
IndeterminateErrorCount
-
-
Data type: uint64
-
Access type: Read-only
Count of the indeterminate errors.
For more information about using uint64 values in scripts, see Scripting in WMI.
-
-
MajorErrorCount
-
-
Data type: uint64
-
Access type: Read-only
-
Qualifiers: MappingStrings ("MIF.DMTF|Operational State|003.8")
Count of the major errors.
For more information about using uint64 values in scripts, see Scripting in WMI.
-
-
MinorErrorCount
-
-
Data type: uint64
-
Access type: Read-only
Count of the minor errors.
For more information about using uint64 values in scripts, see Scripting in WMI.
-
-
Name
-
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.
-
SystemCreationClassName
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: Propagated ("CIM_LogicalDevice.SystemCreationClassName"), CIM_Key, MaxLen (256)
Scoping system's CreationClassName.
-
-
SystemName
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: Propagated ("CIM_LogicalDevice.SystemName"), CIM_Key, MaxLen (256)
Scoping system's Name property.
-
-
WarningCount
-
-
Data type: uint64
-
Access type: Read-only
-
Qualifiers: MappingStrings ("MIF.DMTF|Operational State|003.9")
Count of the warnings.
For more information about using uint64 values in scripts, see Scripting in WMI.
-
Remarks
WMI does not implement this class.
This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|