KPITableSQLParameter2 Property

General info

Label

Parameter 2

Description

Parameter 2

Data type

String

Type

Regular

Code

2646

Symbolic name

MODEL_PROP_KPITABLESQLPARAMETER2

Lua access code

inmation.model.properties.KPITableSQLParameter2

Available since

1.30.6.4266

Parent properties

KPITableSQLParameter

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs
PROP_OBJECTPATH Property can receive object paths

Examples

Read from or write to the KPITableSQLParameter2 property.

  • Lua

  • C#

-- Read from the KPITableSQLParameter2
inmation.getvalue("<OBJECT FULL PATH>.KPITableSql.KPITableSQLParameter.KPITableSQLParameter2")

-- Write to the KPITableSQLParameter2
inmation.setvalue("<OBJECT FULL PATH>.KPITableSql.KPITableSQLParameter.KPITableSQLParameter2", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the KPITableSQLParameter2
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.KPITableSql.KPITableSQLParameter.KPITableSQLParameter2"));
// Write to the KPITableSQLParameter2
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.KPITableSql.KPITableSQLParameter.KPITableSQLParameter2"));