Method SetAdminState
- Namespace
- Skyline.DataMiner.Utils.Interfaces.Network
- Assembly
- Skyline.DataMiner.Utils.Interfaces.dll
SetAdminState(bool)
Sets the administrator state of the interface. Equivalent to 'shutdown' and 'no shutdown' commands.
IInterfaceSettings SetAdminState(bool enabled)
Parameters
enabled
boolWhether the interface should be enabled or not.
Returns
- IInterfaceSettings
The settings object in order to concatenate multiple settings.
Exceptions
- NotSupportedException
SetAdminState(bool) will be thrown if this setting is not supported.