Adds a named value to the property bag.

MOMPropertyBag.AddValue(bstrName, vValue)

Parameters

Parameter Type Description

bstrName

String

The item's name.

vValue

Variant

The item's value.

Return Value

None.

Remarks

This method populates the MOMPropertyBag object by adding a name-value pair into the store. In the MOMPropertyBag object, the vValue is associated with the bstrName.

An example of this method is shown in the MOMScriptAPI.CreatePropertyBag method.

Requirements

Platforms: Requires Windows Server 2003, Windows Vista, or Windows Server 2008

Version: Requires Operations Manager 2007

See Also


Send comments about this topic to Microsoft.