Microsoft Operations Manager

VarSet Object

The VarSetobject stores a group of variables that are globally accessible by all scripts running in MOM. The VarSetobject is automatically instantiated by the MOM scripting environment. You can use a VarSetobject as a store for global script variables during the lifetime of the OnePoint service. When the OnePoint service is stopped, all data stored in the VarSetobject is discarded.

Methods

Name Description

DumpToFile

Writes the contents of a VarSetobject to a file.

get

Retrieves a variable value from a VarSetobject.

put

Writes a variable value to a VarSetobject.

Requirements

Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

State Object


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.