Table of Contents

Method MatrixSetLockMode

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

MatrixSetLockMode(int, bool, int, bool)

Locks or unlocks the specified matrix input or output.

void MatrixSetLockMode(int pid, bool input, int index, bool mode)

Parameters

pid int

The ID of the matrix parameter.

input bool

true if the specified index is an input; otherwise, false.

index int

The index of the input or output.

mode bool

true if the input or output must be locked; otherwise, false.

Remarks

index must be in the range 1..nrOfInputs if input is true.

index must be in the range 1..nrOfOutputs if input is false.

MatrixSetLockMode(int, bool, string, bool)

Locks or unlocks the specified matrix input or output.

void MatrixSetLockMode(int pid, bool input, string label, bool mode)

Parameters

pid int

The ID of the matrix parameter.

input bool

true if the specified index is an input; otherwise, false.

label string

The label of the input or output.

mode bool

true if the input or output must be locked; otherwise, false.

MatrixSetLockMode(string, bool, int, bool)

Locks or unlocks the specified matrix input or output.

note

Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.

[Obsolete("Use overloads with parameter ID instead of name.")]
void MatrixSetLockMode(string parameterName, bool input, int index, bool mode)

Parameters

parameterName string

The name of the matrix parameter.

input bool

true if the specified index is an input; otherwise, false.

index int

The index of the input or output.

mode bool

true if the input or output must be locked; otherwise, false.

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..nrOfInputs if input is true.

index must be in the range 1..nrOfOutputs if input is false.

MatrixSetLockMode(string, bool, string, bool)

Locks or unlocks the specified matrix input or output.

note

Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.

[Obsolete("Use overloads with parameter ID instead of name.")]
void MatrixSetLockMode(string parameterName, bool input, string label, bool mode)

Parameters

parameterName string

The name of the matrix parameter.

input bool

true if the specified index is an input; otherwise, false.

label string

The label of the input or output.

mode bool

true if the input or output must be locked; otherwise, false.

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.