Table of Contents

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

vlan int

The VLAN to add to the interface.

timeout TimeSpan

The maximum time to wait on a response.

Returns

bool

true when the VLAN was added successful; otherwise false.

Exceptions

TimeoutException

When the set is not confirmed within the provided timeout time.