Freigeben über


Settings.GetInstanceValue Method (Setting<Int32>, MonitoringObject)

 

Applies To: Operations Manager for System Center 2012

Gets the specified int setting value for the specified MonitoringObject instance.

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

Syntax

public int GetInstanceValue(
    Setting<int> setting,
    MonitoringObject instance
)
public:
int GetInstanceValue(
    Setting<int>^ setting,
    MonitoringObject^ instance
)
member GetInstanceValue : 
        setting:Setting<int> *
        instance:MonitoringObject -> int
Public Function GetInstanceValue (
    setting As Setting(Of Integer),
    instance As MonitoringObject
) As Integer

Parameters

Return Value

Type: System.Int32

Returns Int32 the setting value for the specified MonitoringObjectinstance.

See Also

GetInstanceValue Overload
Settings Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top