ManagementClass.GetRelatedClasses Method (ManagementOperationObserver, String, String, String, String, String, String, EnumerationOptions)

 

Retrieves classes related to the WMI class, asynchronously, using the specified options.

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

public void GetRelatedClasses(
	ManagementOperationObserver watcher,
	string relatedClass,
	string relationshipClass,
	string relationshipQualifier,
	string relatedQualifier,
	string relatedRole,
	string thisRole,
	EnumerationOptions options
)

Parameters

watcher
Type: System.Management.ManagementOperationObserver

Handler for progress and results of the asynchronous operation.

relatedClass
Type: System.String

The class from which resulting classes have to be derived.

relationshipClass
Type: System.String

The relationship type which resulting classes must have with the source class.

relationshipQualifier
Type: System.String

This qualifier must be present on the relationship.

relatedQualifier
Type: System.String

This qualifier must be present on the resulting classes.

relatedRole
Type: System.String

The resulting classes must have this role in the relationship.

thisRole
Type: System.String

The source class must have this role in the relationship.

options
Type: System.Management.EnumerationOptions

The options for retrieving the resulting classes.

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: