LiteDAC

TLiteBackup.WaitWhenLocked Property

Specifies, whether the backup process waits until the source database becomes unlocked.

Class

TLiteBackup

Syntax

property WaitWhenLocked: boolean default True;

Remarks

Set the WaitWhenLocked property value to specify, whether the backup process will wait until the source database becomes unlocked, if it is locked by an outside connection.

When the property is True, the backup process waits for WaitDelay milliseconds until WaitTimeout is reached. If the source database lock is released, the backup process continues. Otherwise, the appropriate exception is raised.

When the property is False, the backup process finishes immediately.

The default value is True.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback