'Declaration
Public Overloads Shared Sub RestoreDatabase( _ ByVal backupFileName As System.String, _ ByVal databaseFileName As System.String, _ Optional ByVal encryptionPassword As System.String _ )
'Usage
Dim backupFileName As System.String Dim databaseFileName As System.String Dim encryptionPassword As System.String VistaDBConnection.RestoreDatabase(backupFileName, databaseFileName, encryptionPassword)
public static void RestoreDatabase( System.string backupFileName, System.string databaseFileName, System.string encryptionPassword )
Parameters
- backupFileName
- The filename of the backup file to restore from.
- databaseFileName
- The filename of the new database to create. The file must not already exist.
- encryptionPassword
- Optional. The password used to encrypt the original database and its backup (if any).