Table of Contents

Method SetParameterByPrimaryKey

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SetParameterByPrimaryKey(string, string, object)

Sets the value of a cell specified using the primary key instead of the display key.

public virtual void SetParameterByPrimaryKey(string name, string primaryKey, object value)

Parameters

name string

The name of the column parameter.

primaryKey string

The primary key of the row.

value object

The value to set.

Examples

Element element = engine.FindElement(400, 2000);
element.SetParameterByPrimaryKey("Example Column Parameter", "Row 1", "Example Value");

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.

Exceptions

DataMinerException

name is invalid.

SetParameterByPrimaryKey(int, string, object)

Sets the value of a cell specified using the primary key instead of the display key.

public virtual void SetParameterByPrimaryKey(int pid, string primaryKey, object value)

Parameters

pid int

The ID of the column parameter.

primaryKey string

The primary key of the row.

value object

The value to set.

Examples

Element element = engine.FindElement(400, 2000);
element.SetParameterByPrimaryKey(5003, "Row 1", "Example Value");

Exceptions

DataMinerException

pid is invalid.