Method GetConnectionByName
GetConnectionByName(string)
Retrieves the connection with the specified name.
public ConnectivityConnection GetConnectionByName(string name)
Parameters
namestringThe name of the connection.
Returns
- ConnectivityConnection
The connection with the specified name, or null if no connection was found with the specified name.
GetConnectionByName(int, int, string)
Retrieves the connection with the specified ID from the specified element.
public ConnectivityConnection GetConnectionByName(int dmaid, int eid, string name)
Parameters
dmaidintThe DataMiner Agent ID of the element.
eidintThe element ID of the element.
namestringThe name of the connection.
Returns
- ConnectivityConnection
The connection with the specified name, or null if no connection was found with the specified name.