Make a copy of the Current Database.

The Current Database is the Database that the DatabaseHandler that is the parent of this class is connected to. This is not necessarily the same Database that the running Application is using.

Syntax

ISDatabaseProviderBuilderUtilitiesBase.DatabaseCopy(newDatabaseConnectionInfo, [folderName], [overwriteExisting], [copyData], [createOptionalExtendedIndexes], [warnings])

Parameters

NameTypeOptionalByRefDescription
newDatabaseConnectionInfo ISDatabaseConnectionInfo Connection information for the new database.
folderName String Optional Some providers allow you to specify a folder name (on the server) into which the database files will be copied. For MSJet4 databases, this is NOT the path to copy the file to.
overwriteExisting Boolean Optional Indicates whether to overwrite database if it already exists. If omitted, a value of False is assumed.
copyData Boolean Optional Indicates whether to copy data. If omitted, a value of False is assumed.
createOptionalExtendedIndexes Boolean Optional Indicates whether to create Optional Extended Indexes i.e. those that are not flagges as 'Compulsory' in the ISIndex table. If omitted, a value of False is assumed.
warnings Boolean Optional ByRef Indicates that warnings were generates whilst copying the database. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISDatabaseProviderBuilderUtilitiesBase
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0