openPDC Historian Help
MaximumDataBlocks Method (fileSize, blockSize)
NamespacesTVA.Historian.FilesArchiveFileMaximumDataBlocks(Double, Int32)
Returns the number of ArchiveDataBlocks an ArchiveFile can have.
Declaration Syntax
C#Visual BasicVisual C++
public static int MaximumDataBlocks(
	double fileSize,
	int blockSize
)
Public Shared Function MaximumDataBlocks ( _
	fileSize As Double, _
	blockSize As Integer _
) As Integer
public:
static int MaximumDataBlocks(
	double fileSize, 
	int blockSize
)
Parameters
fileSize (Double)
Size (in MB) of the ArchiveFile.
blockSize (Int32)
Size (in KB) of the ArchiveDataBlocks in the ArchiveFile.
Return Value
A 32-bit signed integer for the number of ArchiveDataBlocks an ArchiveFile can have.

Assembly: TVA.Historian (Module: TVA.Historian) Version: 1.0.33.39252