Method UpdateDestination
UpdateDestination(ConnectivityInterface, bool)
Updates the destination interface of this connection.
public bool UpdateDestination(ConnectivityInterface newDestination, bool updateBothConnections)
Parameters
newDestination
ConnectivityInterfaceThe new destination interface.
updateBothConnections
booltrue
if the connection filter should be updated at both ends of the connection; otherwise,false
.
Returns
- bool
true
if the update succeeded; otherwise,false
.
UpdateDestination(ConnectivityInterface, bool, out int)
Updates the destination interface of this connection.
public bool UpdateDestination(ConnectivityInterface newDestination, bool updateBothConnections, out int destPK)
Parameters
newDestination
ConnectivityInterfaceThe new destination interface.
updateBothConnections
booltrue
if the connection filter should be updated at both ends of the connection; otherwise,false
.destPK
intThe 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).
UpdateDestination(ConnectivityInterface, bool, out ConnectivityConnection, int)
Updates the destination interface of this connection.
public bool UpdateDestination(ConnectivityInterface newDestination, bool updateBothConnections, out ConnectivityConnection destConn, int timeoutMs)
Parameters
newDestination
ConnectivityInterfaceThe new destination interface.
updateBothConnections
booltrue
if the connection filter should be updated at both ends of the connection; otherwise,false
.destConn
ConnectivityConnectionThe connection on the destination.
timeoutMs
intThe 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).