VarSet Object

The VarSet object stores a group of variables that are globally accessible by all scripts running in MOM.

The VarSet object is automatically instantiated by the MOM scripting environment. You can use a VarSet object as a store for global script variables during the lifetime of the MOM service. When the MOM service is stopped, all data stored in the VarSet object is discarded.

Methods

Name Description

DumpToFile

Writes the contents of a VarSet object to a file.

get

Gets a variable value from the VarSet object.

put

Saves a variable value in the VarSet object.

Requirements

Platforms: Requires Windows 2000 or later

Version: Requires MOM 2000  or later

See Also

State Object