| CDBiCanOpen Method |
This method checks whether it is possible to open a database.
Available since Oasis montaj version: 6.1.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
This method is useful to determine if another session already locked a database.
By using this method before an Open_DB a GX may handle errors like this more gracefully.
Syntax public static int iCanOpen(
string str1,
string str2,
string str3
)
Public Shared Function iCanOpen (
str1 As String,
str2 As String,
str3 As String
) As Integer
public:
static int iCanOpen(
String^ str1,
String^ str2,
String^ str3
)
static member iCanOpen :
str1 : string *
str2 : string *
str3 : string -> int
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:
Int32See
GEO_BOOLConstantSee Also