|
|
|
|
|
- <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 (by default): The security mechanism is disabled. Data is written to data files at the highest speed possible.
- 1 or True: The security mechanism is enabled: Write speed is slower than with HSecurity(0), but security is guaranteed.
- 2: Maximum security mechanism: Write speed is slower than with HSecurity(1).
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|