Method SpectrumFindMonitorIdByName
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
SpectrumFindMonitorIdByName(string)
Gets the ID that corresponds with the specified spectrum monitor name.
public virtual int SpectrumFindMonitorIdByName(string monitorName)
Parameters
monitorNamestringThe spectrum monitor name.
Returns
- int
The ID that corresponds with the specified spectrum monitor name or -1 when not found.
Examples
var dummy = engine.GetDummy("dummy1");
int monitorId = dummy.SpectrumFindMonitorIdByName("MyMonitorName");