CimClassScriptList.Add (method)

Adds the Script.
Syntax: Set CimClassScript = object.Add ( scriptId )
Parameters:
scriptId As String - Name of the event to be added from the event list.
Description: CimClassScriptList.Add creates a CimClassScript by name.

Examples

Dim class as CimClassInstance
Dim scriptList as CimClassScriptList
Dim script as CimClassScript
[...]
Set scriptList = class.DataItems
Set script = scriptList.Add("NEW_SCRIPT")