Method GetConnectionById
GetConnectionById(int)
Retrieves the connection with the specified ID.
public ConnectivityConnection GetConnectionById(int ConnectionId)
Parameters
ConnectionIdintThe 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
dmaidintThe DataMiner Agent ID of the element.
eidintThe element ID of the element.
ConnectionIdintThe ID of the connection.
Returns
- ConnectivityConnection
The connection with the specified ID, or null if no connection was found with the specified ID.