Table of Contents

Method GetParameter

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

GetParameter(int)

Gets the value of the specified parameter.

object GetParameter(int pid)

Parameters

pid int

The ID of the parameter.

Returns

object

The value of the parameter.

GetParameter(int, string)

object GetParameter(int pid, string idx)

Parameters

pid int
idx string

Returns

object

GetParameter(string)

Gets the value of the specified parameter.

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.")]
object GetParameter(string name)

Parameters

name string

The name of the parameter.

Returns

object

The value of the parameter.

Remarks

The specified value for the name argument should be the value of the Description tag of the parameter and not the value of the Name tag.

GetParameter(string, string)

Gets the value of the specified table cell.

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.")]
object GetParameter(string name, string idx)

Parameters

name string

The name of the column parameter.

idx string

The primary key or display key.

Returns

object

The value of the parameter.

Remarks

The specified value for the name argument should be the value of the Description tag of the parameter and not the value of the Name tag.