SessionBaseRestoreFrom Method (DatabaseLocation, DateTime) |
Restores Databases and pages from a backup DatabaseLocation. Existing data will be merged with the restored data unless existing Databases to restore are deleted before the restore.
Namespace:
VelocityDb.Session
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public virtual void RestoreFrom(
DatabaseLocation backupLocation,
DateTime upToTime
)
Public Overridable Sub RestoreFrom (
backupLocation As DatabaseLocation,
upToTime As DateTime
)
public:
virtual void RestoreFrom(
DatabaseLocation^ backupLocation,
DateTime upToTime
)
abstract RestoreFrom :
backupLocation : DatabaseLocation *
upToTime : DateTime -> unit
override RestoreFrom :
backupLocation : DatabaseLocation *
upToTime : DateTime -> unit
Parameters
- backupLocation
- Type: VelocityDbDatabaseLocation
The location to restore from - upToTime
- Type: SystemDateTime
Restore location up to a given DateTime. Data backed up after this time will not be restored.
See Also