Table of Contents

Method GetNext

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

GetNext(string)

Returns the DCF interface to which this interface is connected.

public Interface GetNext(string connectionNameFilter)

Parameters

connectionNameFilter string

The connection name filter.

Returns

Interface

The DCF interface or null if there is no connected interface.

Examples

Interface nextInterface = interface.GetNext("Connection A");

Remarks

Use the GetNext(string, Interface) overload to make sure that you do not get the same interface twice, especially when performing a sequence of multiple GetNext calls.

GetNext(string, Interface)

Returns the DCF interface to which the specified interface is connected, making sure that the same interface is not retrieved twice, especially when performing a sequence of multiple GetNext calls.

public Interface GetNext(string connectionNameFilter, Interface previousInterface)

Parameters

connectionNameFilter string

The connection name filter.

previousInterface Interface

The previous interface.

Returns

Interface

The interface or null if there is no connected interface..

Examples

Interface nextInterface = interface.GetNext("*",lastInterface);