Method FindElementsInView
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
FindElementsInView(int, string, string)
Retrieves all elements executing the specified protocol in the specified view.
Element[] FindElementsInView(int viewID, string protocolName, string protocolVersion)
Parameters
viewID
intThe view ID.
protocolName
stringThe protocol name.
protocolVersion
stringThe protocol version.
Returns
- Element[]
The elements running the specified protocol in the specified view.
Examples
Elements[] elements = engine.FindElementsInView(14,"Microsoft Platform","1.1.0.48");
FindElementsInView(string, string, string)
Retrieves all elements executing the specified protocol in the specified view.
Element[] FindElementsInView(string viewName, string protocolName, string protocolVersion)
Parameters
viewName
stringThe view name.
protocolName
stringThe protocol name.
protocolVersion
stringThe protocol version.
Returns
- Element[]
The elements running the specified protocol in the specified view.
Examples
Elements[] elements = engine.FindElementsInView("MySpecialElements","Microsoft Platform","1.1.0.48");
FindElementsInView(int)
Retrieves all elements in the specified view.
Element[] FindElementsInView(int viewID)
Parameters
viewID
intThe view ID.
Returns
- Element[]
The elements in the specified view.
Examples
Elements[] elements = engine.FindElementsInView(14);
FindElementsInView(string)
Retrieves all elements in the specified view.
Element[] FindElementsInView(string viewName)
Parameters
viewName
stringThe view name.
Returns
- Element[]
The elements in the specified view.
Examples
Elements[] elements = engine.FindElementsInView("MySpecialElements");