CimClassScriptList.Add (method)

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


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