'Declaration
Public Overloads Shared Sub PackDatabase( _ ByVal fileName As System.String, _ ByVal encryptionPassword As System.String, _ ByVal backup As System.Boolean, _ ByVal operationCallbackDelegate As OperationCallbackDelegate _ )
'Usage
Dim fileName As System.String Dim encryptionPassword As System.String Dim backup As System.Boolean Dim operationCallbackDelegate As OperationCallbackDelegate VistaDBConnection.PackDatabase(fileName, encryptionPassword, backup, operationCallbackDelegate)
public static void PackDatabase( System.string fileName, System.string encryptionPassword, System.bool backup, OperationCallbackDelegate operationCallbackDelegate )
Parameters
- fileName
- File name of the database to pack.
- encryptionPassword
- The encryption Password for the database, or null (Nothing) if not encrypted.
- backup
- True to create a backup copy before packing. The backup file will have the same filename but with .backupCopy appended. If a file by that name already exists it will be overwritten.
- operationCallbackDelegate
- VistaDB.DDA.OperationCallbackDelegate method for feedback of pack progress. You may pass null (or Nothing) if callbacks are not needed.