Method GetScript
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
GetScript(string)
Retrieves the script with the specified script name.
IDmsAutomationScript GetScript(string scriptName)
Parameters
scriptName
stringThe name of the script.
Returns
- IDmsAutomationScript
The script with the specified name.
Exceptions
- ArgumentNullException
scriptName
is null.- ArgumentException
scriptName
is the empty string ("") or white space.- ScriptNotFoundException
No script with the specified name exists in the DataMiner system.