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