ManagementClass.GetRelatedClasses Method (String)

 

Retrieves classes related to the WMI class.

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

public ManagementObjectCollection GetRelatedClasses(
	string relatedClass
)

Parameters

relatedClass
Type: System.String

The class from which resulting classes have to be derived.

Return Value

Type: System.Management.ManagementObjectCollection

A collection of classes related to this class.

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: