Share via


Settings.SetDefaultValue<T> Method (Setting<T>, T)

 

Applies To: Operations Manager for System Center 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)

Syntax

public void SetDefaultValue<T>(
    Setting<T> setting,
    T settingValue
)
public:
generic<typename T>
void SetDefaultValue(
    Setting<T>^ setting,
    T settingValue
)
member SetDefaultValue<'T> : 
        setting:Setting<'T> *
        settingValue:'T -> unit
Public Sub SetDefaultValue(Of T) (
    setting As Setting(Of T),
    settingValue As T
)

Parameters

  • settingValue
    Type: T

    The MonitoringObject instance to set the default setting value in.

Type Parameters

  • T
    The type of object the setting represents

See Also

SetDefaultValue Overload
Settings Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top