Otter SDK Reference
Version:

DeleteVariable(Inedo.ExecutionEngine.RuntimeVariableName name) Method

Deletes the specified variable if it exists.

Syntax

public abstract bool DeleteVariable(Inedo.ExecutionEngine.RuntimeVariableName name)

Parameters

name
Type: Inedo.ExecutionEngine.RuntimeVariableName

The name of the variable.

Returns

True if the variable was deleted; false if the variable did not exist.

Exceptions

System.InvalidOperationException

The raft is read only.