Table of Contents

Method FindElementsInView

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

FindElementsInView(int)

Retrieves all elements in the specified view.

public Element[] FindElementsInView(int viewID)

Parameters

viewID int

The 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.

public Element[] FindElementsInView(string viewName)

Parameters

viewName string

The view name.

Returns

Element[]

The elements in the specified view.

Examples

Elements[] elements = engine.FindElementsInView("MySpecialElements");

FindElementsInView(string, string, string)

Retrieves all elements executing the specified protocol in the specified view.

public Element[] FindElementsInView(string viewName, string protocolName, string protocolVersion)

Parameters

viewName string

The view name.

protocolName string

The protocol name.

protocolVersion string

The 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, string, string)

Retrieves all elements executing the specified protocol in the specified view.

public Element[] FindElementsInView(int viewID, string protocolName, string protocolVersion)

Parameters

viewID int

The view ID.

protocolName string

The protocol name.

protocolVersion string

The 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");