Method TryAddVlan
- Namespace
- Skyline.DataMiner.Utils.Interfaces.Network
- Assembly
- Skyline.DataMiner.Utils.Interfaces.dll
TryAddVlan(int, TimeSpan)
Add a VLAN to the interface. This method will wait until the set is confirmed.
bool TryAddVlan(int vlan, TimeSpan timeout)
Parameters
Returns
- bool
true
when the VLAN was added successful; otherwisefalse
.
Exceptions
- TimeoutException
When the set is not confirmed within the provided timeout time.