Method MatrixSetOutputLockMode
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixSetOutputLockMode(string, string, bool)
Locks or unlocks the specified matrix output.
public virtual void MatrixSetOutputLockMode(string parameterName, string outputLabel, bool mode)
Parameters
parameterName
stringThe name of the matrix parameter.
outputLabel
stringThe label of the matrix output.
mode
booltrue
to lock the output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetOutputLockMode("Example Matrix", "Output 1", true);
Remarks
The specified value for the parameterName
argument should be the value of the Description tag of the parameter and not the value of the Name tag.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.
MatrixSetOutputLockMode(int, int, bool)
Locks or unlocks the specified matrix output.
public virtual void MatrixSetOutputLockMode(int pid, int index, bool mode)
Parameters
pid
intThe ID of the matrix parameter.
index
intThe index of the matrix output.
mode
booltrue
to lock the output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetOutputLockMode(1000, 1, true);
Remarks
index
must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfOutputs.
MatrixSetOutputLockMode(string, int, bool)
Locks or unlocks the specified matrix output.
public virtual void MatrixSetOutputLockMode(string parameterName, int index, bool mode)
Parameters
parameterName
stringThe name of the matrix parameter.
index
intThe index of the matrix output.
mode
booltrue
to lock the output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetOutputLockMode("Example matrix", 1, true);
Remarks
The specified value for the parameterName
argument should be the value of the Description tag of the parameter and not the value of the Name tag.
index
must be in the range 1..nrOfOutputs.
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-index
is not in the range 1..nrOfOutputs.
MatrixSetOutputLockMode(int, string, bool)
Locks or unlocks the specified matrix output.
public virtual void MatrixSetOutputLockMode(int pid, string outputLabel, bool mode)
Parameters
pid
intThe ID of the matrix parameter.
outputLabel
stringThe label of the matrix output.
mode
booltrue
to lock the output; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
element.MatrixSetOutputLockMode(1000, "Output 1", true);
Exceptions
- DataMinerException
The matrix parameter was not found.
-or-
There is no output with the specified label.