次の方法で共有


CustomMonitoringObject.SetMonitoringPropertyValue Method (MonitoringClassProperty, Object)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Sets a property value corresponding to the provided MonitoringClassProperty object.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use this[MonitoringClassProperty]")]
public void SetMonitoringPropertyValue(
    MonitoringClassProperty property,
    object propertyValue
)
public:
[ObsoleteAttribute("Use this[MonitoringClassProperty]")]
void SetMonitoringPropertyValue(
    MonitoringClassProperty^ property,
    Object^ propertyValue
)
[<ObsoleteAttribute("Use this[MonitoringClassProperty]")>]
member SetMonitoringPropertyValue : 
        property:MonitoringClassProperty *
        propertyValue:Object -> unit
<ObsoleteAttribute("Use this[MonitoringClassProperty]")>
Public Sub SetMonitoringPropertyValue (
    property As MonitoringClassProperty,
    propertyValue As Object
)

Parameters

  • propertyValue
    Type: System.Object

    The value to set the property to.

See Also

CustomMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top