Make a copy of the Current Database.

Do not use this method to copy an MS Access database to another MS Access database. Simply copy the file.

Syntax

ISDatabaseBL.DatabaseCopyCurrent(newDatabaseConnectionInfo, [folderName], [overwriteExisting], [copyData], [createOptionalExtendedIndexes], [warnings])

Parameters

NameTypeOptionalByRefDescription
newDatabaseConnectionInfo ISDatabaseConnectionInfo Connection information for the New Database.
folderName String Optional <para> Some providers allow you to specify a Folder Name (on the server) into which the database files will be copied. </para> <para> Note: For MSJet4 databases, this is NOT the path to copy the file to. </para>
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 Indicates that Warnings were generated whilst copying the database. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

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