A script uses a property bag to store output data that will be used by subsequent modules. Four possible uses of property bags are:
- Map data to a performance point and store in the database.
- Map data to an event and store in the database.
- Use data to evaluate state as part of a monitor.
- Map data to an alert and store in the database.
To create a MOMPropertyBag object that is to be mapped to a specific type of data (discovery, event, alert, or performance data), use the CreateTypedPropertyBag method.