CimClassScriptList.Item (read-only property)

Gets Script by name.
Syntax: Set CimClassScript = object.Item ( scriptId )
Parameters:
scriptId As String -
Description: CimClassScriptList.Item returns a CimClassScript by name. Use this method to obtain a CimClassScript object for an existing script.

Examples

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