ItemInfoRecentTime Property
General info
Label |
Recent Import Time |
Description |
Indicates the date and time when this item was recently importing data. |
Data type |
Int64 |
Type |
Regular |
Code |
1560 |
Symbolic name |
MODEL_PROP_ITEMINFORECENTTIME |
Lua access code |
syslib.model.properties.ItemInfoRecentTime |
Available since |
1.6 |
- Parent classes
Attributes
| Name | Tooltip |
|---|---|
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_DETECTABLE | Property is detectable by system-driven server endpoint investigation. |
Examples
Read from or write to the ItemInfoRecentTime property.
-- Read from the ItemInfoRecentTime
syslib.getvalue("<OBJECT FULL PATH>.ItemInfoRecentTime")
-- Write to the ItemInfoRecentTime
syslib.setvalue("<OBJECT FULL PATH>.ItemInfoRecentTime", VALUE)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the ItemInfoRecentTime
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.ItemInfoRecentTime"));
// Write to the ItemInfoRecentTime
Result result = sli.WriteValue(sc, new WriteItem(VALUE, "<OBJECT FULL PATH>.ItemInfoRecentTime"));