Click or drag to resize

ExporterBaseDatasetTemplate Method

Returns a template DataSet that can be used for storing time-series data in a tabular format.

Namespace: GSF.Historian.Exporters
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.181-beta
Syntax
public static DataSet DatasetTemplate(
	string dataTableName
)
View Source

Parameters

dataTableName  String
Name of the DataTable that will be used for storing the time-series data.

Return Value

DataSet
A DataSet object.
Remarks

The returned DataSet consists of two DataTables with the following structure:

Table 1 is to be used for storing time-series data.
Column NameColumn Description
InstanceHistorian instance providing the time-series data.
IDHistorianID of the time-series data.
TimeTime of the time-series data.
ValueValue of the time-series data.
QualityQuality of the time-series data.
Table 2 is to be used for providing information about Table 1.
Column NameColumn Description
RunTimeDateTime (in UTC) when the data in Table 1 was populated.
RecordCountNumber of time-series data points in Table 1.
RefreshScheduleInterval (in seconds) at which the data in Table 1 is to be refreshed.

See Also