CimAttributeList.Delete (method)

Deletes an attribute.
Syntax: object.Delete AttributeID
Parameters:
AttributeID As String -
Description: CimAttributeList.Delete is used to remove an attribute from the object. If the attribute is removed from the object, the value of the attribute for the object will become the default value of the attribute in the class. CimAttributeList.Set is used to set an attribute for the object.

Examples

obj.Attributes.Delete "LOCATION"