Table of Contents

Method FindElement

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

FindElement(string)

Retrieves the element with the specified name.

public Element FindElement(string name)

Parameters

name string

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

public Element FindElement(int dmaID, int elementID)

Parameters

dmaID int

The DataMiner Agent ID of the element.

elementID int

The element ID.

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