Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.