Stores a collection of name-value pairs.
Adds a named value to the property bag.
The MOMPropertyBag object is similar to the Windows Script Host Dictionary object or to the associative arrays that are used by many other programming languages.
This object defines a name-indexed container for property values for a MOM object. It is used to store operations data, such as discovery, event, or performance data. The data is stored as a collection of name-value pairs. After the property bag is created, any number of name-value pairs can be created in the property bag by using the MOMPropertyBag.AddValue method.
Property bags store script data that is used by subsequent modules in the workflow that the script is part of. Some examples are:
- Map data to a performance point and store in
- Map data to an event and store in the
- Use data to evaluate state as part of a
- Map data to an alert and store in the
Platforms: Requires Windows Server 2003, Windows Vista, or Windows Server 2008
Version: Requires Operations Manager 2007 or System Center 2012 – Operations Manager