Click or drag to resize

ArchiveFileAllocationTableFindDataBlocks(Int32, TimeTag, Boolean, Boolean) Method

Returns all ArchiveDataBlocks in the ArchiveFile for the specified historianID with ArchiveDataPoint points later than the specified startTime.

Namespace: GSF.Historian.Files
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.239-beta
Syntax
public IEnumerable<(ArchiveDataBlock dataBlock, bool isLast)> FindDataBlocks(
	int historianID,
	TimeTag startTime,
	bool preRead = true,
	bool reverseQuery = false
)
View Source

Parameters

historianID  Int32
Historian identifier.
startTime  TimeTag
Start TimeTag.
preRead  Boolean  (Optional)
true to pre-read data to locate write cursor.
reverseQuery  Boolean  (Optional)
true to search backwards from the end of the file.

Return Value

IEnumerableValueTupleArchiveDataBlock, Boolean
A collection of ArchiveDataBlocks.
See Also