CimClassDataItemList.Add (method)

Adds the CimPoint.
Syntax: Set CimPoint = object.Add ( pointId, pointTypeId )
pointId As String -
pointTypeId As String - Name of the event to be added from the event list.
Description: CimClassDataItemList.Add creates a new CimPoint. Use this method to create a new CimPoint as a class dataitem using the id and type that are passed in.


Dim class as CimClassInstance
Dim dataItemList as CimClassDataItemList
Dim dataItem as CimPoint
Set dataItemList = class.DataItems
Set dataItem = dataItemList.Add("VIRTUAL_POINT", "INT")