LiteDAC

TLiteBackup.SourceConnection Property

Specifies the source connection for the backup.

Class

TLiteBackup

Syntax

property SourceConnection: TLiteConnection;

Remarks

Set the SourceConnection property to specify the source TLiteConnection for the backup (the connection to the database to be copied). Read the property value to access the source connection.

The actual name of the database to be copied is specified using the SourceDatabaseName property.

The destination connection (the connection to the target database) for the backup is accessible using the DestinationConnection 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