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
)

Parameters

watcher
Type: System.Management.ManagementOperationObserver

The object to handle the asynchronous operation's progress.

relationshipClass
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 http://msdn.microsoft.com/library.

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
Show:
© 2016 Microsoft