Method UpdateScript
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
UpdateScript(int, string, string, string[])
Updates the specified script. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_SETINFO (5), SPAI_SCRIPT (9), scriptMetaInfo, scriptStatements, out result);
int UpdateScript(int scriptId, string scriptName, string scriptDescription, string[] scriptStatements)
Parameters
scriptId
intThe ID of the script.
scriptName
stringThe name of the script.
scriptDescription
stringA description of the script.
scriptStatements
string[]Details of the script.
Returns
- int
The ID of the updated script.