Method MatrixSetInputLockMode
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixSetInputLockMode(int, string, bool)
Locks or unlocks the specified matrix input.
void MatrixSetInputLockMode(int pid, string inputLabel, bool mode)
Parameters
pidintThe ID of the matrix parameter.
inputLabelstringThe label of the matrix input.
modebooltrueto lock the input; otherwise,false.
MatrixSetInputLockMode(int, int, bool)
Locks or unlocks the specified matrix input.
void MatrixSetInputLockMode(int pid, int index, bool mode)
Parameters
pidintThe ID of the matrix parameter.
indexintThe index of the matrix input.
modebooltrueto lock the input; otherwise,false.
Remarks
index must be in the range 1..nrOfInputs.
MatrixSetInputLockMode(string, int, bool)
Locks or unlocks the specified matrix input.
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 MatrixSetInputLockMode(string parameterName, int index, bool mode)
Parameters
parameterNamestringThe name of the matrix parameter.
indexintThe index of the matrix input.
modebooltrueto lock the input; otherwise,false.
Remarks
index must be in the range 1..nrOfInputs.
MatrixSetInputLockMode(string, string, bool)
Locks or unlocks the specified matrix input.
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 MatrixSetInputLockMode(string parameterName, string inputLabel, bool mode)
Parameters
parameterNamestringThe name of the matrix parameter.
inputLabelstringThe label of the matrix input.
modebooltrueto lock the input; 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.