FireDAC.Phys.SQLite.TFDSQLiteBackup.WaitForLocks

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WaitForLocks: Boolean read FWaitForLocks write FWaitForLocks default True;

C++

__property bool WaitForLocks = {read=FWaitForLocks, write=FWaitForLocks, default=1};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Phys.SQLite.pas
FireDAC.Phys.SQLite.hpp
FireDAC.Phys.SQLite TFDSQLiteBackup

Description

Controls the waiting time for a lock to be released.

Use the WaitForLocks property to specify if the copy operation must wait for a lock on the source or destination database to be released. When True, the Backup method will wait.

Use the BusyTimeout property to specify the timeout. When False, an exception is raised immediately after a lock is found.

The default value is True.

See Also