Table of Contents

Method GetConnectionById

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

GetConnectionById(int)

Retrieves the connection with the specified ID.

public ConnectivityConnection GetConnectionById(int ConnectionId)

Parameters

ConnectionId int

The 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 int

The DataMiner Agent ID of the element.

eid int

The element ID of the element.

ConnectionId int

The ID of the connection.

Returns

ConnectivityConnection

The connection with the specified ID, or null if no connection was found with the specified ID.