DataStudioVersion Property
General info
Label |
DataStudio Version |
Description |
The version of DataStudio |
Data type |
String |
Type |
Regular |
Code |
2472 |
Symbolic name |
MODEL_PROP_DATASTUDIOVERSION |
Lua access code |
inmation.model.properties.DataStudioVersion |
Available since |
1.30.6.4266 |
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 DataStudioVersion
property.
-- Read from the DataStudioVersion
inmation.getvalue("<OBJECT FULL PATH>.DataStudioVersion")
-- Write to the DataStudioVersion
inmation.setvalue("<OBJECT FULL PATH>.DataStudioVersion", "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 DataStudioVersion
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.DataStudioVersion"));
// Write to the DataStudioVersion
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.DataStudioVersion"));