Method GetConnectionById
GetConnectionById(int)
Retrieves the connection with the specified ID.
public ConnectivityConnection GetConnectionById(int ConnectionId)
Parameters
ConnectionId
intThe ID of the connection.
Returns
- ConnectivityConnection
The connection with the specified ID, or null if no connection was found with the specified ID.
GetConnectionById(int, int, int)
Retrieves the connection with the specified ID from the specified element.
public ConnectivityConnection GetConnectionById(int dmaid, int eid, int ConnectionId)
Parameters
dmaid
intThe DataMiner Agent ID of the element.
eid
intThe element ID of the element.
ConnectionId
intThe ID of the connection.
Returns
- ConnectivityConnection
The connection with the specified ID, or null if no connection was found with the specified ID.