Method GetConnectionByName
GetConnectionByName(string)
Retrieves the connection with the specified name.
public ConnectivityConnection GetConnectionByName(string name)
Parameters
name
stringThe 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
dmaid
intThe DataMiner Agent ID of the element.
eid
intThe element ID of the element.
name
stringThe name of the connection.
Returns
- ConnectivityConnection
The connection with the specified name, or null if no connection was found with the specified name.