Click or drag to resize

ArchiveFileAllocationTableFindDataBlock Method

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

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

Parameters

historianID  Int32
Historian identifier whose ArchiveDataBlock is to be retrieved.
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