Compartilhar via


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

 

Applies To: Operations Manager for System Center 2012

Sets the specified bool setting value 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(
    Setting<bool> setting,
    bool settingValue
)
public:
void SetDefaultValue(
    Setting<bool>^ setting,
    bool settingValue
)
member SetDefaultValue : 
        setting:Setting<bool> *
        settingValue:bool -> unit
Public Sub SetDefaultValue (
    setting As Setting(Of Boolean),
    settingValue As Boolean
)

Parameters

See Also

SetDefaultValue Overload
Settings Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top