CustomMonitoringObject.SetMonitoringPropertyValue(MonitoringClassProperty, Object) Method

Definition

Caution

Use this[MonitoringClassProperty]

This method sets an object corresponding to the provided MonitoringClassProperty.

public:
 void SetMonitoringPropertyValue(Microsoft::EnterpriseManagement::Configuration::MonitoringClassProperty ^ property, System::Object ^ propertyValue);
[System.Obsolete("Use this[MonitoringClassProperty]")]
public void SetMonitoringPropertyValue (Microsoft.EnterpriseManagement.Configuration.MonitoringClassProperty property, object propertyValue);
member this.SetMonitoringPropertyValue : Microsoft.EnterpriseManagement.Configuration.MonitoringClassProperty * obj -> unit
Public Sub SetMonitoringPropertyValue (property As MonitoringClassProperty, propertyValue As Object)

Parameters

property
MonitoringClassProperty

The property to set the value for.

propertyValue
Object

The value to set the property to.

Attributes

Applies to