| CDBOpenReadOnly Method |
This method opens a database.
Available since Oasis montaj version: 6.4.2
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.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(
string str1,
string str2,
string str3
)
Public Shared Function OpenReadOnly (
str1 As String,
str2 As String,
str3 As String
) As CDB
public:
static CDB^ OpenReadOnly(
String^ str1,
String^ str2,
String^ str3
)
static member OpenReadOnly :
str1 : string *
str2 : string *
str3 : string -> CDB
Parameters
- str1
- Type: SystemString
name of the Database File to Open - str2
- Type: SystemString
Name of the user ("SUPER" normally) - str3
- Type: SystemString
Password of the user ("" normally)
Return Value
Type:
CDBDB Object
See Also