Click or drag to resize

ArchiveFileAllocationTableFindLastDataBlock Method

Returns the last ArchiveDataBlock in the ArchiveFile for the specified historianID.

Namespace: GSF.Historian.Files
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.207-beta
Syntax
public ArchiveDataBlock FindLastDataBlock(
	int historianID,
	bool preRead = true
)
View Source

Parameters

historianID  Int32
Historian identifier.
preRead  Boolean  (Optional)
true to pre-read data to locate write cursor.

Return Value

ArchiveDataBlock
ArchiveDataBlock object if a match is found; otherwise null.
See Also