Table of Contents

Method UpdateConnectionDestination

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

UpdateConnectionDestination(int, ConnectivityInterface, bool)

Updates the destination of the specified connection.

public bool UpdateConnectionDestination(int ConnectionId, ConnectivityInterface newDestination, bool updateBothConnections)

Parameters

ConnectionId int

The ID of the connection.

newDestination ConnectivityInterface

The new destination interface.

updateBothConnections bool

true if the connection entry should be updated at both ends of the connection; otherwise, false.

Returns

bool

true if the update succeeded; otherwise, false.

UpdateConnectionDestination(int, ConnectivityInterface, bool, out int)

Updates the destination of the specified connection.

public bool UpdateConnectionDestination(int ConnectionId, ConnectivityInterface newDestination, bool updateBothConnections, out int destPK)

Parameters

ConnectionId int

The ID of the connection.

newDestination ConnectivityInterface

The new destination interface.

updateBothConnections bool

true if the connection entry should be updated at both ends of the connection; otherwise, false.

destPK int

The ID (primary key) of the destination interface.

Returns

bool

true if the update succeeded; otherwise, false.

Remarks

Feature introduced in DataMiner 8.5.3 (RN 9297).

UpdateConnectionDestination(int, ConnectivityInterface, bool, out ConnectivityConnection, int)

Updates the destination of the specified connection.

public bool UpdateConnectionDestination(int ConnectionId, ConnectivityInterface newDestination, bool updateBothConnections, out ConnectivityConnection destConn, int timeoutMs)

Parameters

ConnectionId int

The ID of the connection.

newDestination ConnectivityInterface

The new destination interface.

updateBothConnections bool

true if the connection entry should be updated at both ends of the connection; otherwise, false.

destConn ConnectivityConnection

The destination connection.

timeoutMs int

The update timeout.

Returns

bool

true if the update succeeded; otherwise, false.

Remarks

In case the connection was not updated within the specified timeout, false will be returned. However, the message will still be handled by DataMiner.

Feature introduced in DataMiner 8.5.3 (RN 9297).