GetRelationshipClasses Method (ManagementOperationObserver, String)

ManagementClass.GetRelationshipClasses Method (ManagementOperationObserver, String)


Retrieves relationship classes that relate the class to the specified WMI class, asynchronously.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

Public Sub GetRelationshipClasses (
	watcher As ManagementOperationObserver,
	relationshipClass As String


Type: System.Management.ManagementOperationObserver

The object to handle the asynchronous operation's progress.

Type: System.String

The WMI class to which all returned relationships should point.

For more information about relationship classes, see " ASSOCIATORS OF Statement" in the Windows Management Instrumentation documentation in the MSDN Library at

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft