 | 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
Syntaxpublic static CDB OpenReadOnly(
CGXNETCore gxNetShared,
string file,
string user,
string password
)
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 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
)
public:
static CDB^ OpenReadOnly(
CGXNETCore^ gxNetShared,
String^ file,
String^ user,
String^ password
)
static member OpenReadOnly :
gxNetShared : CGXNETCore *
file : string *
user : string *
password : string -> CDB
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
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