Declaration

function DatabaseOpen(out aDatabase: TnxAbstractDatabase; const aAliasType: string; const aAlias: string; aOpenMode: TnxOpenMode; aShareMode: TnxShareMode; aTimeout: TnxWord32): TnxResult; virtual; abstract;

 
Description

This function will open a alias/database and return the TnxAbstractDatabase object created it for it.

 
Parameters

out aDatabase: TnxAbstractDatabase

the variable to receive the resulting instance.

const aAliasType: string

the type of the alias. Currently nxatAliasName and nxatAliasPath

const aAlias: string

the name of the alias to open

aOpenMode: TnxOpenMode

the mode the database should be opened in

aShareMode: TnxShareMode

Share mode for opening the database

aTimeout: TnxWord32

the timeout in msec for the database

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxAbstractSession