Click or drag to resize

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()

Return Value

Type: DatabaseLocation
The default DatabaseLocation
See Also