次の方法で共有


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

 

Applies To: Operations Manager for System Center 2012

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

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

Syntax

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

Parameters

Return Value

Type: System.Boolean

Returns Boolean the specifiedsetting value for the specifiedMonitoringObjectinstance.

See Also

GetInstanceValue Overload
Settings Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top