|
|
|
|
|
- <Source>.Security and HFlush functions
<Source>.Security (Function) In french: <Source>.Sécurité
 Available only with these kinds of connection
Enables or disables the automatic security mechanism on one or more data files. Customer.Security(False) // Disables the protection mechanism Customer.Security(True) // Enables the protection mechanism
Syntax
<Result> = <Source>.Security(<Security level>)
<Result>: Integer Former security level (before running <Source>.Security). <Source>: Type corresponding to the specified source Name of the data file used. <Security level>: Integer or boolean Requested security level:- 0 or False (default): Safety mechanism disabled. Data is written to data files at the highest speed possible.
- 1 or True: Security mechanism activated: writing speed is slower than with the HSecurity(0) option, but security is guaranteed when writing to data files.
- 2: Maximum security mechanism: Data file writing speed is slower than with the HSecurity(1) option..
Remarks <Source>.Security and HFlush functions <Source>.Security and <Source>.Flush can both be used to force a physical write operation on disk. However: - <Source>.Security forces the data file(s) to be written. The HFSQL engine automatically performs the write operation. The data files are not closed during this write operation. This results in slower write speeds.
- <Source>.Flush forces a write operation to the data files when it is called. The data files are closed and then re-opened during this write operation. The write operation is not slowed down.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|