|
IArchive.ReadData(Int32, String, String, Boolean) Method
|
Reads time-series data from the repository.
Namespace: GSF.HistorianAssembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.246-beta
SyntaxIEnumerable<IDataPoint> ReadData(
int historianID,
string startTime,
string endTime,
bool timeSorted = true
)
Function ReadData (
historianID As Integer,
startTime As String,
endTime As String,
Optional timeSorted As Boolean = true
) As IEnumerable(Of IDataPoint)
IEnumerable<IDataPoint^>^ ReadData(
int historianID,
String^ startTime,
String^ endTime,
bool timeSorted = true
)
abstract ReadData :
historianID : int *
startTime : string *
endTime : string *
?timeSorted : bool
(* Defaults:
let _timeSorted = defaultArg timeSorted true
*)
-> IEnumerable<IDataPoint>
function ReadData(historianID, startTime, endTime, timeSorted);
View SourceParameters
- historianID Int32
- Historian identifier for which IDataPoints are to be read.
- startTime String
- String representation of the start time (in UTC) of the timespan for which IDataPoints are to be read.
- endTime String
- String representation of the end time (in UTC) of the timespan for which IDataPoints are to be read.
- timeSorted Boolean (Optional)
- Indicates whether the data retrieved from the archive should be time sorted.
Return Value
IEnumerable<IDataPoint>IEnumerable<T> object containing zero or more
IDataPoints.
See Also