CustomMonitoringObject.SetMonitoringPropertyValue(MonitoringClassProperty, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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