Method GetInterface
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetInterface(int)
Retrieves the specified DCF interface.
public virtual Interface GetInterface(int interfaceID)
Parameters
interfaceIDintThe interface ID.
Returns
Examples
var dummy = engine.GetDummy("dummy1");
var interface = dummy.GetInterface(1);
Remarks
note
Note that the method caches the interface the first time it is retrieved, and the interface will not be updated if it changes while the script is running.
GetInterface(string)
Retrieves the specified DCF interface.
public virtual Interface GetInterface(string customName)
Parameters
customNamestringThe name of the interface.
Returns
Examples
var dummy = engine.GetDummy("dummy1");
var interface = dummy.GetInterface("MyInterface");
Remarks
note
Note that the method caches the interface the first time it is retrieved, and the interface will not be updated if it changes while the script is running.