Method UpdateConnectionDestination
UpdateConnectionDestination(int, ConnectivityInterface, bool)
Updates the destination of the specified connection.
public bool UpdateConnectionDestination(int ConnectionId, ConnectivityInterface newDestination, bool updateBothConnections)
Parameters
ConnectionIdintThe ID of the connection.
newDestinationConnectivityInterfaceThe new destination interface.
updateBothConnectionsbooltrueif the connection entry should be updated at both ends of the connection; otherwise,false.
Returns
- bool
trueif 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
ConnectionIdintThe ID of the connection.
newDestinationConnectivityInterfaceThe new destination interface.
updateBothConnectionsbooltrueif the connection entry should be updated at both ends of the connection; otherwise,false.destPKintThe ID (primary key) of the destination interface.
Returns
- bool
trueif the update succeeded; otherwise,false.
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
ConnectionIdintThe ID of the connection.
newDestinationConnectivityInterfaceThe new destination interface.
updateBothConnectionsbooltrueif the connection entry should be updated at both ends of the connection; otherwise,false.destConnConnectivityConnectionThe destination connection.
timeoutMsintThe update timeout.
Returns
- bool
trueif 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.