Method AddScript
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
AddScript(string, string, string[])
Adds the specified script. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_SETINFO (5), SPAI_SCRIPT (9), scriptMetaInfo, scriptStatements, out result); Where scriptMetaInfo has scriptId set to 2100000000
int AddScript(string scriptName, string scriptDescription, string[] scriptStatements)
Parameters
scriptName
stringThe name of the script.
scriptDescription
stringA description of the script.
scriptStatements
string[]Details of the script.
Returns
- int
The id of the added script.