Method GetScriptParam
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetScriptParam(string)
Retrieves an object representing a script parameter. Through this object, its value can be retrieved.
public ScriptParam GetScriptParam(string name)
Parameters
name
stringThe name of the script parameter.
Returns
- ScriptParam
The specified script parameter or null if the script parameter with the specified name is not found.
Examples
ScriptParam param = engine.GetScriptParam("input");
GetScriptParam(int)
Retrieves an object representing a script parameter. Through this object, its value can be retrieved.
public ScriptParam GetScriptParam(int id)
Parameters
id
intThe ID of the script parameter.
Returns
- ScriptParam
The specified script parameter or null if the script parameter with the specified ID is not found..
Examples
ScriptParam param = engine.GetScriptParam(5);