Table of Contents

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 string

The name of the script.

scriptDescription string

A description of the script.

scriptStatements string[]

Details of the script.

Returns

int

The id of the added script.