Applies To: Operations Manager for System Center 2012
Gets the specified double setting value for the specified MonitoringObject instance.
Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public double GetInstanceValue(
    Setting<double> setting,
    MonitoringObject instance
)
public:
double GetInstanceValue(
    Setting<double>^ setting,
    MonitoringObject^ instance
)
member GetInstanceValue : 
        setting:Setting<float> *
        instance:MonitoringObject -> float
Public Function GetInstanceValue (
    setting As Setting(Of Double),
    instance As MonitoringObject
) As Double
Parameters
- setting 
 Type: Microsoft.EnterpriseManagement.Administration.Setting<Double>- The double setting value to return for the MonitoringObject instance. 
- instance 
 Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringObject- The MonitoringObject instance to get the setting value for. 
Return Value
Type: System.Double
Returns Double the specified setting value for the specifiedMonitoringObject instance.
See Also
GetInstanceValue Overload
Settings Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top