CimAttributeList.Set (method)

Set an attribute
Syntax: object.Set AttributeID, Value
Parameters:
AttributeID As String - Attribute ID to set
Value As String - Value for attribute
Description: CimAttributeList.Set is used to set an attribute for the object.

Examples

obj.Attributes.Set "$DEVICE_ID", "PLC_1"
obj.Attributes.Set "$ADDRESS", "%R100"
obj.Attributes.Set "LOCATION", "Left Tank"