CimClassDataItemExpressionList.Delete (method)

Deletes the expression.
Syntax: object.Delete expressionId
Parameters:
expressionId As String - Name of the attribute.
Description: CimClassDataItemExpression.Delete removes CimClassDataItemExpression based on the ID that is passed in. Use this method to remove a expression from this list.

Examples

Dim class As CimClassInstance
Dim dataItem As CimPoint
[...]
Set dataItem = class.DataItems.Item("EXISTING_POINT")
dataItem.Expressions.Delete "EXISTING_EXPRESSION"