Settings.SetDefaultValue Method (Setting, T)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Sets the specified setting value of type T to the default setting value in the specified MonitoringObject instance.
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 settingValue As T
instance.SetDefaultValue(setting, settingValue)
Syntax
'Declaration
Public Sub SetDefaultValue(Of T) ( _
setting As Setting(Of T), _
settingValue As T _
)
public void SetDefaultValue<T> (
Setting<T> setting,
T settingValue
)
public:
generic<typename T>
void SetDefaultValue (
Setting<T>^ setting,
T settingValue
)
GenericParameters
- T
The type of object the setting represents
Parameters
- setting
The setting value of type T to set to the default setting value in the MonitoringObject instance.
- settingValue
The MonitoringObject instance to set the default setting value in.
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