Settings.GetInstanceValue Method (Setting<DateTime>, MonitoringObject)
Applies To: Operations Manager for System Center 2012
Gets the specified DateTime setting value for the specified MonitoringObject instance.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public DateTime GetInstanceValue(
Setting<DateTime> setting,
MonitoringObject instance
)
public:
DateTime GetInstanceValue(
Setting<DateTime>^ setting,
MonitoringObject^ instance
)
member GetInstanceValue :
setting:Setting<DateTime> *
instance:MonitoringObject -> DateTime
Public Function GetInstanceValue (
setting As Setting(Of Date),
instance As MonitoringObject
) As Date
Parameters
setting
Type: Microsoft.EnterpriseManagement.Administration.Setting<DateTime>theDateTime 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.DateTime
Returns DateTime the specified DateTime setting value for the specified MonitoringObject instance.
See Also
GetInstanceValue Overload
Settings Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top