Settings.InstanceHasDefaultValue Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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
'Usage
Dim instance As Settings
Dim setting As Setting(Of T)
Dim instance As MonitoringObject
Dim returnValue As Boolean
returnValue = instance.InstanceHasDefaultValue(setting, instance)
Syntax
'Declaration
Public Function InstanceHasDefaultValue(Of T) ( _
setting As Setting(Of T), _
instance As MonitoringObject _
) As Boolean
public bool InstanceHasDefaultValue<T> (
Setting<T> setting,
MonitoringObject instance
)
public:
generic<typename T>
bool InstanceHasDefaultValue (
Setting<T>^ setting,
MonitoringObject^ instance
)
GenericParameters
- T
The type of object the setting represents
Parameters
- setting
The setting value to check to find out if it is used as a default setting value in the Setting instance.
- instance
The Setting instance to check for the setting value.
Return Value
Returns Boolean.
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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
Settings Class
Settings Members
Microsoft.EnterpriseManagement.Administration Namespace