Method FindElement
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
FindElement(string)
Retrieves the element with the specified name.
Element FindElement(string name)
Parameters
name
stringThe name of the element.
Returns
- Element
The element with the specified name or null if no element was found with the specified name.
Examples
Element myElement = engine.FindElement("myElement");
FindElement(int, int)
Retrieves the element with the specified DataMiner Agent ID/element ID.
Element FindElement(int dmaID, int elementID)
Parameters
Returns
- Element
The element with the specified DataMiner Agent ID/element ID or null if no element was found with the specified ID.
Examples
Element myElement = engine.FindElement(7,32);