LiteDAC

TLiteBackup.DestinationConnection Property

Specifies the destination connection for the backup.

Class

TLiteBackup

Syntax

property DestinationConnection: TLiteConnection;

Remarks

Set the DestinationConnection property to specify the destination TLiteConnection for the backup (the connection to the target database). Read the property value to access the destination connection.

The actual name of the target database is specified using the DestinationDatabaseName property.

The source connection (the connection to the database to be copied) for the backup is accessible using the SourceConnection property.

Both source and destination connection have to be specified and connected to perform a backup. Otherwise, the appropriate exception will be raised.

See Also

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