Export (0) Print
Expand All

Amended Class Considerations

You cannot create instances of the amended classes in the localized namespace. Amended classes in the localized namespace are treated as if they are abstract although they do not contain the Abstract qualifier.

If you retrieve an amended class from a localized namespace using the WBEM_FLAG_USE_AMENDED_QUALIFIERS flag and spawn an instance from it, the instance contains all of the amended qualifiers of the amended class. You cannot store this new class in the namespace that contains the basic class definition unless you perform the put operation with the WBEM_FLAG_USE_AMENDED_QUALIFIERS flag. This flag instructs WMI to strip away any amended qualifiers before saving the object. If you do not specify WBEM_FLAG_USE_AMENDED_QUALIFIERS, the put operation fails with a WBEM_E_AMENDED_OBJECT error.

 

 

Show:
© 2014 Microsoft