Settings.GetInstanceValue Method (Setting, MonitoringObject)

Updated: April 16, 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)Dim instance As Settings Dim setting As Setting(Of Boolean) Dim instance As MonitoringObject Dim returnValue As Boolean returnValue = instance.GetInstanceValue(setting, instance)Public Function GetInstanceValue ( _ setting As Setting(Of Boolean), _ instance As MonitoringObject _ ) As Booleanpublic bool GetInstanceValue ( Setting<bool> setting, MonitoringObject instance )public: bool GetInstanceValue ( Setting<bool>^ setting, MonitoringObject^ instance )public boolean GetInstanceValue ( Setting<boolean> setting, MonitoringObject instance )public function GetInstanceValue ( setting : Setting<boolean>, instance : MonitoringObject ) : booleanParameterssettingThe bool setting value to return for the MonitoringObjectinstanceThe MonitoringObject instance to get the setting value for.Return ValueReturns Boolean the specifiedsetting value for the specifiedMonitoringObjectinstance.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms