Determines whether the specified
MonitoringObject instance
uses the specified
Setting
object as a default setting value.
Namespace:
Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager
(in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
Dim instance As Settings
Dim setting As Setting(Of T)
Dim instance As MonitoringObject
Dim returnValue As Boolean
returnValue = instance.InstanceHasDefaultValue(setting, instance)
|
Syntax
Visual Basic |
Public Function InstanceHasDefaultValue(Of T) ( _
setting As Setting(Of T), _
instance As MonitoringObject _
) As Boolean
|
Parameters
- setting
-
The setting value to check to find out if it is used as a
default setting value in the MonitoringObject
instance.
- instance
-
The MonitoringObject instance to check for the setting
value.
Return Value
Returns
true if the specified setting is a default setting
in the
MonitoringObject instance, and returns
false
if the specified setting is not a default setting in the
MonitoringObject instance.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, and
Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows
XP
See Also