company logo

DataSourceHandle :: SetDatabase - Set database

The function closes the database handle when being opened. It sets the database path passed to the function as path for the database handle and copies the database handle to the data source. The function does not check the consistency between the database handle and the path passed to the function.

Return value:  Success ( logical  )

Implementation details

logical DataSourceHandle  :: SetDatabase ( DatabaseHandle &dbhandle_refc, NPath dbpath )
  • dbhandle_refc - Reference to database handle
  • dbpath - Complete database path