Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ManagementObject.GetRelated Method (ManagementOperationObserver, String)

.NET Framework 1.1

Gets a collection of objects related to the object (associators).

[Visual Basic]
Overloads Public Sub GetRelated( _
   ByVal watcher As ManagementOperationObserver, _
   ByVal relatedClass As String _
public void GetRelated(
 ManagementOperationObserver watcher,
 string relatedClass
public: void GetRelated(
 ManagementOperationObserver* watcher,
 String* relatedClass
public function GetRelated(
   watcher : ManagementOperationObserver,
 relatedClass : String


The object to use to return results.
The class of related objects.


This operation is equivalent to an ASSOCIATORS OF query where ResultClass = <relatedClass>.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ManagementObject Class | ManagementObject Members | System.Management Namespace | ManagementObject.GetRelated Overload List

© 2015 Microsoft