ErrorMethodology - property in ROOT\CIMV2\ms_409 namespace

ErrorMethodology in other namespaces

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

propertyClassOrigin
ErrorMethodologyCIM_MediaAccessDeviceCIM_MediaAccessDevice
ErrorMethodologyCIM_StorageExtentCIM_StorageExtent

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

propertyClassOrigin
ErrorMethodologyCIM_AggregatePExtentCIM_StorageExtent
ErrorMethodologyCIM_AggregatePSExtentCIM_StorageExtent
ErrorMethodologyCIM_CacheMemoryCIM_StorageExtent
ErrorMethodologyCIM_CDROMDriveCIM_MediaAccessDevice
ErrorMethodologyCIM_DiskDriveCIM_MediaAccessDevice
ErrorMethodologyCIM_DisketteDriveCIM_MediaAccessDevice
ErrorMethodologyCIM_DiskPartitionCIM_StorageExtent
ErrorMethodologyCIM_LogicalDiskCIM_StorageExtent
ErrorMethodologyCIM_MagnetoOpticalDriveCIM_MediaAccessDevice
ErrorMethodologyCIM_MemoryCIM_StorageExtent
ErrorMethodologyCIM_NonVolatileStorageCIM_StorageExtent
ErrorMethodologyCIM_PhysicalExtentCIM_StorageExtent
ErrorMethodologyCIM_ProtectedSpaceExtentCIM_StorageExtent
ErrorMethodologyCIM_StorageVolumeCIM_StorageExtent
ErrorMethodologyCIM_TapeDriveCIM_MediaAccessDevice
ErrorMethodologyCIM_VolatileStorageCIM_StorageExtent
ErrorMethodologyCIM_VolumeSetCIM_StorageExtent
ErrorMethodologyCIM_WORMDriveCIM_MediaAccessDevice
ErrorMethodologyWin32_CacheMemoryCIM_StorageExtent
ErrorMethodologyWin32_CDROMDriveCIM_MediaAccessDevice
ErrorMethodologyWin32_DiskDriveCIM_MediaAccessDevice
ErrorMethodologyWin32_DiskPartitionCIM_StorageExtent
ErrorMethodologyWin32_FloppyDriveCIM_MediaAccessDevice
ErrorMethodologyWin32_LogicalDiskCIM_StorageExtent
ErrorMethodologyWin32_MappedLogicalDiskCIM_StorageExtent
ErrorMethodologyWin32_MemoryArrayCIM_StorageExtent
ErrorMethodologyWin32_MemoryDeviceCIM_StorageExtent
ErrorMethodologyWin32_SMBIOSMemoryCIM_StorageExtent
ErrorMethodologyWin32_TapeDriveCIM_MediaAccessDevice
ErrorMethodologyWin32_VolumeCIM_StorageExtent

Code samples for ErrorMethodology property

Get instance of WMI class using GetObject, ErrorMethodology property of CIM_LogicalDisk

Short VBS code - get a single specified instance of CIM_LogicalDisk 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_LogicalDisk.PropertyName=""SomeText""")
Wscript.Echo wmiObject.ErrorMethodology 'or other property name, see properties
See more VBS samples of CIM_LogicalDisk class

WMI query - sample windows WQL with C#, ErrorMethodology property of CIM_LogicalDisk

Get a specified instance of CIM_LogicalDisk 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_LogicalDisk 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("ErrorMethodology : {0}", m["ErrorMethodology"]);
  
}

WMI query - sample windows WQL with VB.Net, ErrorMethodology property of CIM_LogicalDisk

Get a specified instance of CIM_LogicalDisk 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_LogicalDisk 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("ErrorMethodology : {0}", mObject("ErrorMethodology"))
Next
comments powered by Disqus
WUtils.com