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
vlanintThe VLAN to remove from the interface.
timeoutTimeSpanThe maximum time to wait on a response.
Returns
- bool
truewhen the VLAN was removed successful; otherwisefalse.
Exceptions
- TimeoutException
When the set is not confirmed within the provided timeout time.