Click or drag to resize

CDBOpenReadOnly Method

This method opens a database.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static CDB OpenReadOnly(
	CGXNETCore gxNetShared,
	string file,
	string user,
	string password
)

public static CDB OpenReadOnly(
	CGXNETCore gxNetShared,
	string file,
	string user,
	string password
)

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: CDB
DB Object
Remarks
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.
See Also