AdapterBaseParseOutputMeasurements Method
Parses output measurements from connection string setting.
Namespace: Gemstone.Timeseries.AdaptersAssembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
Public Shared Function ParseOutputMeasurements (
dataSource As DataSet,
allowSelect As Boolean,
value As String,
Optional measurementTable As String = "ActiveMeasurements"
) As IMeasurement()
Gemstone.Timeseries.Adapters.AdapterBase.ParseOutputMeasurements = function(dataSource, allowSelect, value, measurementTable);
- dataSource DataSet
- The DataSet used to define output measurements.
- allowSelect Boolean
- Determines if database access via "SELECT" statement should be allowed for defining output measurements (see remarks about security).
- value String
- Value of setting used to define output measurements, typically "outputMeasurements".
- measurementTable String (Optional)
- Measurement table name used to load additional meta-data; this is not used when specifying a FILTER expression.
IMeasurementUser selected output measurements.
Security warning: allowing SELECT statements, i.e., setting allowSelect to true, should only be allowed in cases where SQL
injection would not be an issue (e.g., in places where a user can already access the database and would have nothing to gain via an injection attack).