|
ExporterBaseDatasetTemplate Method
|
Returns a template
DataSet that can be used for storing time-series data in a tabular format.
Namespace: GSF.Historian.ExportersAssembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.207-beta
Syntax Public Shared Function DatasetTemplate (
dataTableName As String
) As DataSet
static member DatasetTemplate :
dataTableName : string -> DataSet
GSF.Historian.Exporters.ExporterBase.DatasetTemplate = function(dataTableName);
View SourceParameters
- dataTableName String
- Name of the DataTable that will be used for storing the time-series data.
Return Value
DataSetA
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 Name | Column Description |
---|
Instance | Historian instance providing the time-series data. |
ID | HistorianID of the time-series data. |
Time | Time of the time-series data. |
Value | Value of the time-series data. |
Quality | Quality of the time-series data. |
Table 2 is to be used for providing information about Table 1.
Column Name | Column Description |
---|
RunTime | DateTime (in UTC) when the data in Table 1 was populated. |
RecordCount | Number of time-series data points in Table 1. |
RefreshSchedule | Interval (in seconds) at which the data in Table 1 is to be refreshed. |
See Also