Method TryRemoveVlan
- Namespace
- Skyline.DataMiner.Utils.Interfaces.Network
- Assembly
- Skyline.DataMiner.Utils.Interfaces.dll
TryRemoveVlan(int, TimeSpan)
Remove a VLAN from the interface. This method will wait until the set is confirmed.
bool TryRemoveVlan(int vlan, TimeSpan timeout)
Parameters
vlan
intThe VLAN to remove from the interface.
timeout
TimeSpanThe maximum time to wait on a response.
Returns
- bool
true
when the VLAN was removed successful; otherwisefalse
.
Exceptions
- TimeoutException
When the set is not confirmed within the provided timeout time.