'Declaration
Overloads Sub PackDatabase( _ ByVal fileName As System.String, _ ByVal encryptionKeyString As System.String, _ ByVal backup As System.Boolean, _ ByVal operationCallbackDelegate As OperationCallbackDelegate _ )
'Usage
Dim instance As IVistaDBDDA Dim fileName As System.String Dim encryptionKeyString As System.String Dim backup As System.Boolean Dim operationCallbackDelegate As OperationCallbackDelegate instance.PackDatabase(fileName, encryptionKeyString, backup, operationCallbackDelegate)
void PackDatabase( System.string fileName, System.string encryptionKeyString, System.bool backup, OperationCallbackDelegate operationCallbackDelegate )
Parameters
- fileName
- Filename of database to pack, including extension. May use a full path or a path relative to the current working directory (same as Data Source in a connection string).
- encryptionKeyString
- Encryption key for the database (not changing). Pass null (Nothing in Visual Basic) for an unencrypted database.
- backup
- True to create a backup copy of the pre-packed database with the same name + ".backupCopy" appended to the end of the filename. If a backup file by that name already exists it will be overwritten.
- operationCallbackDelegate
- OperationCallbackDelegate method for feedback of pack progress. May be null (Nothing) for no callback.