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 _
)
[C#]
public void GetRelated(
 ManagementOperationObserver watcher,
 string relatedClass
);
[C++]
public: void GetRelated(
 ManagementOperationObserver* watcher,
 String* relatedClass
);
[JScript]
public function GetRelated(
   watcher : ManagementOperationObserver,
 relatedClass : String
);

Parameters

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

Remarks

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

Requirements

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

Show:
© 2015 Microsoft