[This is preliminary documentation and subject to change.]
The IWbemClassObject interface contains and manipulates both class definitions and class object instances.
From the WBEM client perspective, this interface is always in-process. Put (write) operations will only affect the local copy of the object, and Get (read) operations always retrieve values from the local copy. You can perform updates to CIMOM only when entire objects are read or written using methods on the IWbemServices interface. Examples of such updates are: IWbemServices::PutInstance or IWbemServices::PutClass.
This interface is not implemented by the user or by a provider under any circumstances. The implementation provided by CIMOM is the only one that is recognized.
IUnknown Methods | Description |
---|---|
QueryInterface | Determines if this object supports WBEM interfaces. |
AddRef | Increases the object's reference count by 1. |
Release | Decrements the reference count by 1. |
IWbemClassObject Methods | Description | |
---|---|---|
GetQualifierSet | Allows access to the qualifier set of the entire object. | |
Get | Gets a particular property value. | |
Put | Edits or creates a particular property value. | |
Delete | Removes the specified property from the object. | |
GetNames | Obtains a list of the names of all the properties in the object. | |
BeginEnumeration | Begins an enumeration of all the properties. | |
Next | Obtains the next property in an enumeration after an initial call to BeginEnumeration. | |
EndEnumeration | Ends an enumeration begun with BeginEnumeration. | |
GetPropertyQualifierSet | Allows access to the qualifiers of a particular property. | |
Clone | Makes a copy of the current object. | |
GetObjectText | Obtains the textual rendition of the object (MOF syntax). | |
SpawnDerivedClass | Creates a new derived class from the current class. | |
SpawnInstance | Creates a new instance from the current class. | |
CompareTo | Tests two objects for equality. | |
GetPropertyOrigin | Reports the class in which a particular property was introduced. | |
InheritsFrom | Reports whether the current object inherits from a particular class. | |
GetMethod | TBD | |
PutMethod | TBD | |
DeleteMethod | TBD | |
BeginMethodEnumeration | TBD | |
NextMethod | TBD | |
EndMethodEnumeration | TBD | |
GetMethodQualifierSet | TBD | |
GetMethodOrigin | TBD | |