Table of Contents

Method SaveValue

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SaveValue(string, double)

Saves a value to a global script variable. This value can then be reused elsewhere in the same script.

public void SaveValue(string name, double value)

Parameters

name string

The name of the global script variable.

value double

The value to set.

Examples

engine.SaveValue("MyVariable", 10.8);

Exceptions

DataMinerException

Save value failed.

SaveValue(string, string)

Saves a value to a global script variable. This value can then be reused elsewhere in the same script.

public void SaveValue(string name, string value)

Parameters

name string

The name of the global script variable.

value string

The value to set.

Examples

engine.SaveValue("MyVariable", "MyValue");

Exceptions

DataMinerException

Save value failed.