MOMRelationshipInstance.AddProperty Method

Updated: January 31, 2012

Applies To: System Center 2012 - Operations Manager

Adds a new property value to the relationship instance.

MOMRelationshipInstance.AddProperty(bstrName, bstrValue)

Parameters

 

Parameter Type Description

bstrName

String

The name of the property.

bstrValue

String

The value of the property.

None.

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

Version: Requires Operations Manager 2007 or System Center 2012 – Operations Manager

An example of this method is shown in the MOMDiscoveryData.CreateRelationshipInstance method.

Reference