[This is preliminary documentation and subject to change.]
The DWbemClassObject.InheritsFrom method determines if the current class or instance derives from a specified parent class.
DWbemClassObject.InheritsFrom(
[in] strAncestor As String
) As Long
WBEM_NO_ERROR | The current object inherits from the specified ancestor class. |
WBEM_S_FALSE | The current object does not inherit from the specified ancestor class. |
WBEM_E_INVALID_PARAMETER | The strAncestor parameter is vbNullString. |
DWbemClassObject.GetPropertyOrigin