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
monitorName
stringThe spectrum monitor name.
Returns
- int
The ID that corresponds with the specified spectrum monitor name or -1 when not found.
Examples
var element = engine.FindElement("MySpectrumElement ");
int monitorId = element.SpectrumFindMonitorIdByName("MyMonitorName");