Method Update
Update(string, int, string, int, int, int, bool)
Updates this connection.
public bool Update(string newSourceName, int newSourceInterfaceId, string newDestinationName, int newDestinationDMAId, int newDestinationElementId, int newDestinationInterfaceId, bool updateBothConnections)
Parameters
newSourceNamestringThe new name to apply to this connection on the source.
newSourceInterfaceIdintThe ID of the new source interface.
newDestinationNamestringThe new name to apply to this connection on the destination.
newDestinationDMAIdintThe DataMiner Agent ID of the destination element.
newDestinationElementIdintThe element ID of the destination element.
newDestinationInterfaceIdintThe ID of the destination interface.
updateBothConnectionsbooltrueif the connection filter should be updated at both ends of the connection; otherwise,false.
Returns
- bool
trueif the update succeeded; otherwise,false.
Update(string, int, string, int, int, int, string, bool)
Updates this connection.
public bool Update(string newSourceName, int newSourceInterfaceId, string newDestinationName, int newDestinationDMAId, int newDestinationElementId, int newDestinationInterfaceId, string newFilter, bool updateBothConnections)
Parameters
newSourceNamestringThe new name to apply to this connection on the source.
newSourceInterfaceIdintThe ID of the new source interface.
newDestinationNamestringThe new name to apply to this connection on the destination.
newDestinationDMAIdintThe DataMiner Agent ID of the destination element.
newDestinationElementIdintThe element ID of the destination element.
newDestinationInterfaceIdintThe ID of the destination interface.
newFilterstringThe new connection filter.
updateBothConnectionsbooltrueif the connection filter should be updated at both ends of the connection; otherwise,false.
Returns
- bool
trueif the update succeeded; otherwise,false.
Update(string, int, string, int, int, int, string, bool, out int)
Updates this connection.
public bool Update(string newSourceName, int newSourceInterfaceId, string newDestinationName, int newDestinationDMAId, int newDestinationElementId, int newDestinationInterfaceId, string newFilter, bool updateBothConnections, out int destPK)
Parameters
newSourceNamestringThe new name to apply to this connection on the source.
newSourceInterfaceIdintThe ID of the new source interface.
newDestinationNamestringThe new name to apply to this connection on the destination.
newDestinationDMAIdintThe DataMiner Agent ID of the destination element.
newDestinationElementIdintThe element ID of the destination element.
newDestinationInterfaceIdintThe ID of the destination interface.
newFilterstringThe new connection filter.
updateBothConnectionsbooltrueif the connection filter 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.
Update(string, int, string, int, int, int, string, bool, out ConnectivityConnection, int)
Updates this connection.
public bool Update(string newSourceName, int newSourceInterfaceId, string newDestinationName, int newDestinationDMAId, int newDestinationElementId, int newDestinationInterfaceId, string newFilter, bool updateBothConnections, out ConnectivityConnection destConn, int timeoutMs)
Parameters
newSourceNamestringThe new name to apply to this connection on the source.
newSourceInterfaceIdintThe ID of the new source interface.
newDestinationNamestringThe new name to apply to this connection on the destination.
newDestinationDMAIdintThe DataMiner Agent ID of the destination element.
newDestinationElementIdintThe element ID of the destination element.
newDestinationInterfaceIdintThe ID of the destination interface.
newFilterstringThe new connection filter.
updateBothConnectionsbooltrueif the connection filter should be updated at both ends of the connection; otherwise,false.destConnConnectivityConnectionThe connection on the destination.
timeoutMsintThe update timeout.
Returns
- bool
trueif the update succeeded within the specified timeout; 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.