New topic: WMI alternative to GetRelated method
<http://forums.realsoftware.com/viewtopic.php?t=47093> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Roland Foster Post subject: WMI alternative to GetRelated methodPosted: Tue Feb 26, 2013 5:02 pm Joined: Sat Jan 12, 2008 12:54 pm Posts: 32 Using the Monkeybread Win plugin for WMI, I needed to relate the disk drive ID (from Win32_LogicalDisk class) to the partition ID (from Win32_DiskPartition). The ordinary way to do this is to use the GetRelated method of a ManagementClass object, which is not included in the plugin. I got it done by SELECTing the logical disk objects, then issuing an "ASSOCIATORS OF" query for each of them and looking through the results for the associated Win2_DiskPartition object. Hope this helps someone. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
