Settings.SetDefaultValue Method (Setting, T)

Updated: April 16, 2012

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)Dim instance As Settings Dim setting As Setting(Of T) Dim settingValue As T instance.SetDefaultValue(setting, settingValue)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 )GenericParametersTThe type of object the setting representsParameterssettingThe setting value of type T to set to the default setting value in the MonitoringObject instance.settingValueThe MonitoringObject instance to set the default setting value in.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms