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
setting
Type: Microsoft.EnterpriseManagement.Administration.Setting<Boolean>The bool setting value to set to the default setting value in the MonitoringObject instance.
settingValue
Type: System.BooleanThe MonitoringObject instance to set the default setting value in.
See Also
SetDefaultValue Overload
Settings Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top