Table of Contents

Method WithOnDeleteScript

Namespace
Skyline.DataMiner.Utils.DOM.Builders
Assembly
Skyline.DataMiner.Utils.DOM.dll

WithOnDeleteScript(string)

Sets the script to be executed when a DOM instance is deleted.

public T WithOnDeleteScript(string scriptName)

Parameters

scriptName string

The name of the script to execute on deletion, or an empty string to not execute a script

Returns

T

The builder instance for chaining.

Exceptions

ArgumentNullException

Thrown when scriptName is null.