Method GetMemory
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetMemory(string)
Retrieves an object representing one of the script’s memory files. Through this object, data can be read from or written into the memory file.
ScriptMemory GetMemory(string name)
Parameters
name
stringThe name of the memory file.
Returns
- ScriptMemory
The object representing the specified script memory file or null if the memory with the specified name is not found.
Examples
ScriptMemory memoryData = engine.GetMemory("name");
GetMemory(int)
Retrieves an object representing one of the script’s memory files. Through this object, data can be read from or written into the memory file.
ScriptMemory GetMemory(int id)
Parameters
id
intThe ID of the memory file.
Returns
- ScriptMemory
The object representing the specified script memory file or null if the memory with the specified ID is not found.
Examples
ScriptMemory memoryData = engine.GetMemory(3);