company logo

SystemClass :: GetDatabase - Get database handle

The function provides a database handle for the current context. When the function is called while running an OSI function or expression, the database handle from the current environment will be returned (data source). Otherwise, the utility context is checked and when running a utility, the database handle is returned from the utility data source.

When not running in a utility or OSI context, the function throws an exception.

Return value:  dbhandle - Title unknown ( DBHandle * )

Implementation details

DatabaseHandle SystemClass  :: GetDatabase (  )