'Declaration
Overloads Sub PackDatabase( _ ByVal fileName As System.String, _ ByVal encryptionKeyString As System.String, _ ByVal newencryptionKeyString As System.String, _ ByVal newPageSize As System.Integer, _ ByVal newLCID As System.Integer, _ ByVal newCaseSensitive As System.Boolean, _ 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 newencryptionKeyString As System.String Dim newPageSize As System.Integer Dim newLCID As System.Integer Dim newCaseSensitive As System.Boolean Dim backup As System.Boolean Dim operationCallbackDelegate As OperationCallbackDelegate instance.PackDatabase(fileName, encryptionKeyString, newencryptionKeyString, newPageSize, newLCID, newCaseSensitive, backup, operationCallbackDelegate)
void PackDatabase( System.string fileName, System.string encryptionKeyString, System.string newencryptionKeyString, System.int newPageSize, System.int newLCID, System.bool newCaseSensitive, 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 existing database. Pass null (Nothing in Visual Basic) for an unencrypted database.
- newencryptionKeyString
- Encryption key to use for the new (packed) database. Pass null for a unencrypted database.
- newPageSize
- New page size.Pass a 0 here to leave the page size at the current setting.
- newLCID
- New locale LocaleID. Pass a value of 0 to leave the LocaleID with it's current setting.
- newCaseSensitive
- New case sensitivity setting. (Cannot default to existing setting using this overload. Check original setting first if it is not already known and not intending to override it.)
- 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.