|
This function is used to restore database. Suppose you have mistakenly/intentionally deleted any information from your existing database or entire database and you want to restore that; this function allows you to do so. You have to specify the exact location from where to restore the database file. The parameters are:
Path: It is the path of the file to be restored. It is a required parameter.
Database name is not mentioned here for security reasons. When database is created using 'CreateDatabase' function, HCnix keep its name in database and remove same database. If you want to create and restore multiple databases you have to call restore database right after the create database. Also, the restore database works for last created database.
|
<RestoreDatabase path=""/> |
See Also: