Table of Contents

Method MatrixEnableInputLine

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

MatrixEnableInputLine(int, string, bool)

Enables or disables the specified matrix input.

void MatrixEnableInputLine(int pid, string inputLineLabel, bool state)

Parameters

pid int

The ID of the matrix parameter.

inputLineLabel string

The label of the input.

state bool

true to enable the input; otherwise, false.

MatrixEnableInputLine(int, int, bool)

Enables or disables the specified matrix input.

void MatrixEnableInputLine(int pid, int index, bool state)

Parameters

pid int

The ID of the matrix parameter.

index int

The index of the input.

state bool

true to enable the input; otherwise, false.

Remarks

The input index must be in the range 1..nrOfInputs.

MatrixEnableInputLine(string, int, bool)

Enables or disables 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 MatrixEnableInputLine(string parameterName, int index, bool state)

Parameters

parameterName string

The name of the matrix parameter.

index int

The index of the input.

state bool

true to enable the input; otherwise, false.

Remarks

The input index must be in the range 1..nrOfInputs.

MatrixEnableInputLine(string, string, bool)

Enables or disables 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 MatrixEnableInputLine(string parameterName, string inputLineLabel, bool state)

Parameters

parameterName string

The name of the matrix parameter.

inputLineLabel string

The label of the input.

state bool

true to enable 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.