ErrorCleared - property in ROOT\CIMV2\ms_409 namespace

ErrorCleared in other namespaces

List of classes with ErrorCleared local property in ROOT\CIMV2\ms_409 namespace

propertyClassOrigin
ErrorClearedCIM_LogicalDeviceCIM_LogicalDevice

List of classes with ErrorCleared derived property in ROOT\CIMV2\ms_409 namespace

propertyClassOrigin
ErrorClearedCIM_AggregatePExtentCIM_LogicalDevice
ErrorClearedCIM_AggregatePSExtentCIM_LogicalDevice
ErrorClearedCIM_AlarmDeviceCIM_LogicalDevice
ErrorClearedCIM_BatteryCIM_LogicalDevice
ErrorClearedCIM_BinarySensorCIM_LogicalDevice
ErrorClearedCIM_CacheMemoryCIM_LogicalDevice
ErrorClearedCIM_CDROMDriveCIM_LogicalDevice
ErrorClearedCIM_ControllerCIM_LogicalDevice
ErrorClearedCIM_CoolingDeviceCIM_LogicalDevice
ErrorClearedCIM_CurrentSensorCIM_LogicalDevice
ErrorClearedCIM_DesktopMonitorCIM_LogicalDevice
ErrorClearedCIM_DiscreteSensorCIM_LogicalDevice
ErrorClearedCIM_DiskDriveCIM_LogicalDevice
ErrorClearedCIM_DisketteDriveCIM_LogicalDevice
ErrorClearedCIM_DiskPartitionCIM_LogicalDevice
ErrorClearedCIM_DisplayCIM_LogicalDevice
ErrorClearedCIM_FanCIM_LogicalDevice
ErrorClearedCIM_FlatPanelCIM_LogicalDevice
ErrorClearedCIM_HeatPipeCIM_LogicalDevice
ErrorClearedCIM_InfraredControllerCIM_LogicalDevice
ErrorClearedCIM_KeyboardCIM_LogicalDevice
ErrorClearedCIM_LogicalDiskCIM_LogicalDevice
ErrorClearedCIM_MagnetoOpticalDriveCIM_LogicalDevice
ErrorClearedCIM_ManagementControllerCIM_LogicalDevice
ErrorClearedCIM_MediaAccessDeviceCIM_LogicalDevice
ErrorClearedCIM_MemoryCIM_LogicalDevice
ErrorClearedCIM_MultiStateSensorCIM_LogicalDevice
ErrorClearedCIM_NetworkAdapterCIM_LogicalDevice
ErrorClearedCIM_NonVolatileStorageCIM_LogicalDevice
ErrorClearedCIM_NumericSensorCIM_LogicalDevice
ErrorClearedCIM_ParallelControllerCIM_LogicalDevice
ErrorClearedCIM_PCIControllerCIM_LogicalDevice
ErrorClearedCIM_PCMCIAControllerCIM_LogicalDevice
ErrorClearedCIM_PCVideoControllerCIM_LogicalDevice
ErrorClearedCIM_PhysicalExtentCIM_LogicalDevice
ErrorClearedCIM_PointingDeviceCIM_LogicalDevice
ErrorClearedCIM_PotsModemCIM_LogicalDevice
ErrorClearedCIM_PowerSupplyCIM_LogicalDevice
ErrorClearedCIM_PrinterCIM_LogicalDevice
ErrorClearedCIM_ProcessorCIM_LogicalDevice
ErrorClearedCIM_ProtectedSpaceExtentCIM_LogicalDevice
ErrorClearedCIM_RefrigerationCIM_LogicalDevice
ErrorClearedCIM_ScannerCIM_LogicalDevice
ErrorClearedCIM_SCSIControllerCIM_LogicalDevice
ErrorClearedCIM_SensorCIM_LogicalDevice
ErrorClearedCIM_SerialControllerCIM_LogicalDevice
ErrorClearedCIM_StorageExtentCIM_LogicalDevice
ErrorClearedCIM_StorageVolumeCIM_LogicalDevice
ErrorClearedCIM_TachometerCIM_LogicalDevice
ErrorClearedCIM_TapeDriveCIM_LogicalDevice
ErrorClearedCIM_TemperatureSensorCIM_LogicalDevice
ErrorClearedCIM_UninterruptiblePowerSupplyCIM_LogicalDevice
ErrorClearedCIM_USBControllerCIM_LogicalDevice
ErrorClearedCIM_USBDeviceCIM_LogicalDevice
ErrorClearedCIM_USBHubCIM_LogicalDevice
ErrorClearedCIM_UserDeviceCIM_LogicalDevice
ErrorClearedCIM_VideoControllerCIM_LogicalDevice
ErrorClearedCIM_VolatileStorageCIM_LogicalDevice
ErrorClearedCIM_VoltageSensorCIM_LogicalDevice
ErrorClearedCIM_VolumeSetCIM_LogicalDevice
ErrorClearedCIM_WORMDriveCIM_LogicalDevice
ErrorClearedWin32_1394ControllerCIM_LogicalDevice
ErrorClearedWin32_BatteryCIM_LogicalDevice
ErrorClearedWin32_BusCIM_LogicalDevice
ErrorClearedWin32_CacheMemoryCIM_LogicalDevice
ErrorClearedWin32_CDROMDriveCIM_LogicalDevice
ErrorClearedWin32_CurrentProbeCIM_LogicalDevice
ErrorClearedWin32_DesktopMonitorCIM_LogicalDevice
ErrorClearedWin32_DiskDriveCIM_LogicalDevice
ErrorClearedWin32_DiskPartitionCIM_LogicalDevice
ErrorClearedWin32_FanCIM_LogicalDevice
ErrorClearedWin32_FloppyControllerCIM_LogicalDevice
ErrorClearedWin32_FloppyDriveCIM_LogicalDevice
ErrorClearedWin32_HeatPipeCIM_LogicalDevice
ErrorClearedWin32_IDEControllerCIM_LogicalDevice
ErrorClearedWin32_InfraredDeviceCIM_LogicalDevice
ErrorClearedWin32_KeyboardCIM_LogicalDevice
ErrorClearedWin32_LogicalDiskCIM_LogicalDevice
ErrorClearedWin32_MappedLogicalDiskCIM_LogicalDevice
ErrorClearedWin32_MemoryArrayCIM_LogicalDevice
ErrorClearedWin32_MemoryDeviceCIM_LogicalDevice
ErrorClearedWin32_MotherboardDeviceCIM_LogicalDevice
ErrorClearedWin32_NetworkAdapterCIM_LogicalDevice
ErrorClearedWin32_ParallelPortCIM_LogicalDevice
ErrorClearedWin32_PCMCIAControllerCIM_LogicalDevice
ErrorClearedWin32_PnPEntityCIM_LogicalDevice
ErrorClearedWin32_PointingDeviceCIM_LogicalDevice
ErrorClearedWin32_PortableBatteryCIM_LogicalDevice
ErrorClearedWin32_POTSModemCIM_LogicalDevice
ErrorClearedWin32_ProcessorCIM_LogicalDevice
ErrorClearedWin32_RefrigerationCIM_LogicalDevice
ErrorClearedWin32_SCSIControllerCIM_LogicalDevice
ErrorClearedWin32_SerialPortCIM_LogicalDevice
ErrorClearedWin32_SMBIOSMemoryCIM_LogicalDevice
ErrorClearedWin32_SoundDeviceCIM_LogicalDevice
ErrorClearedWin32_TapeDriveCIM_LogicalDevice
ErrorClearedWin32_TemperatureProbeCIM_LogicalDevice
ErrorClearedWin32_USBControllerCIM_LogicalDevice
ErrorClearedWin32_USBHubCIM_LogicalDevice
ErrorClearedWin32_VideoControllerCIM_LogicalDevice
ErrorClearedWin32_VoltageProbeCIM_LogicalDevice
ErrorClearedWin32_VolumeCIM_LogicalDevice

Code samples for ErrorCleared property

Get instance of WMI class using GetObject, ErrorCleared property of CIM_Printer

Short VBS code - get a single specified instance of CIM_Printer class or get a default unnamed instance (singleton) of the class, using one single command GetObject with exact path of the wmi object.

'https://wutils.com/wmi/
Dim wmiObject
Set wmiObject = GetObject( _
 "WINMGMTS:\\.\ROOT\CIMV2\ms_409:" + _
 "CIM_Printer.PropertyName=""SomeText""")
Wscript.Echo wmiObject.ErrorCleared 'or other property name, see properties
See more VBS samples of CIM_Printer class

WMI query - sample windows WQL with C#, ErrorCleared property of CIM_Printer

Get a specified instance of CIM_Printer by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this c# sample code.
See in another language: VBScript, VB.Net.
//https://wutils.com/wmi/

//Project -> Add reference -> System.Management
//using System.Management;

//create a management scope object
ManagementScope scope = new ManagementScope("\\\\.\\ROOT\\CIMV2\\ms_409");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM CIM_Printer Where PropertyName=\"SomeText\"");

//create object searcher
ManagementObjectSearcher searcher =
                        new ManagementObjectSearcher(scope, query);

//get a collection of WMI objects
ManagementObjectCollection queryCollection = searcher.Get();

//enumerate the collection.
foreach (ManagementObject m in queryCollection) 
{
  // access properties of the WMI object
  Console.WriteLine("ErrorCleared : {0}", m["ErrorCleared"]);
  
}

WMI query - sample windows WQL with VB.Net, ErrorCleared property of CIM_Printer

Get a specified instance of CIM_Printer by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this VB.Net sample code.
See in another language: VBScript, C#
'Project -> Add reference -> System.Management
'Imports System.Management

'Get the namespace management scope
Dim Scope As New ManagementScope("\\.\ROOT\CIMV2\ms_409")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM CIM_Printer Where PropertyName="SomeText"")

'Create object searcher
Dim Searcher As New ManagementObjectSearcher(Scope, Query)

'Get a collection of WMI objects
Dim queryCollection As ManagementObjectCollection = Searcher.Get

'Enumerate wmi object 
For Each mObject As ManagementObject In queryCollection
  'write out some property value
  Console.WriteLine("ErrorCleared : {0}", mObject("ErrorCleared"))
Next
comments powered by Disqus
WUtils.com