Reload Property

General info

Label

Reload

Description

Forces the object to reload the code-behind. Does not reset the state

Data type

Boolean

Type

Regular

Code

5186

Symbolic name

MODEL_PROP_RELOAD

Lua access code

inmation.model.properties.Reload

Available since

1.44.0.6192

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

Examples

Read from or write to the Reload property.

  • Lua

  • C#

-- Read from the Reload
inmation.getvalue("<OBJECT FULL PATH>.BatchRecord.Reload")

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

// Read from the Reload
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.BatchRecord.Reload"));
// Write to the Reload
Result result = sli.WriteValue(sc, new WriteItem(true, "<OBJECT FULL PATH>.BatchRecord.Reload"));