Table of Contents

Method ScriptExists

Namespace
Skyline.DataMiner.Library.Common.Temp
Assembly
Skyline.DataMiner.Core.AppPackageInstaller.dll

ScriptExists(string, out string)

Determines whether a script with the specified name exists in the DataMiner System.

bool ScriptExists(string scriptName, out string hash)

Parameters

scriptName string

The name of the script.

hash string

Returns

bool

true if the script exists; otherwise, false.

Exceptions

ArgumentNullException

scriptName is null.

ArgumentException

scriptName is the empty string ("") or white space.