The Stat method syntax has these parts:
Stat returns a two-byte integer that holds the status of the VAccess control. If this is zero, the operation completed successfully.
Stat will force an update of the status buffer, which will update the file parameters such as
PageSize,
TotalKeys,
PercentFreeSpace,
PreallocatedPages,
ReservedDupPointers,
ACSName,
CollatingSequence,
FileVersion, and the file flags.
Stat will also update the index information from the status buffer if
DdfKeyUseIndexDDFOnly if set to
False. A
Stat call is not needed prior to getting the
TotalRecords property;
TotalRecords performs a
Stat call when requested.