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