| CDBOpenReadOnly Method |
This method opens a database.
Available since Oasis montaj version: 6.4.2
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
This method is useful to open multiple reader instances on the same database. This call will fail
if a DB has already been opened with Open_DB or locked in the application with Lock_EDB.
Syntax public static CDB OpenReadOnly(
CGXNETCore gxNetShared,
string file,
string user,
string password
)
Public Shared Function OpenReadOnly (
gxNetShared As CGXNETCore,
file As String,
user As String,
password As String
) As CDB
public:
static CDB^ OpenReadOnly(
CGXNETCore^ gxNetShared,
String^ file,
String^ user,
String^ password
)
static member OpenReadOnly :
gxNetShared : CGXNETCore *
file : string *
user : string *
password : string -> CDB
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - file
- Type: SystemString
Name of the Database File to Open - user
- Type: SystemString
Name of the user ("SUPER" normally) - password
- Type: SystemString
Password of the user ("" normally)
Return Value
Type:
CDBDB Object
See Also