SessionBaseRelocateDefaultDatabaseLocation Method |
After moving/copying directory containing your
Databases 0.odb, 1.odb ... call this before starting a transaction to update host and directory of the default
DatabaseLocation.
This function does not move the database files, it only updates the
DatabaseLocation.
Namespace:
VelocityDb.Session
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public DatabaseLocation RelocateDefaultDatabaseLocation()
Public Function RelocateDefaultDatabaseLocation As DatabaseLocation
public:
DatabaseLocation^ RelocateDefaultDatabaseLocation()
member RelocateDefaultDatabaseLocation : unit -> DatabaseLocation
Return Value
Type:
DatabaseLocationThe default
DatabaseLocationSee Also