![](../icons/Help.png) | CGUIiDatabaseType Method (CGXNETCore, String, String) |
Returns the type string of an external DAO database.
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
If the file extension is "mdb", then an MSJET (Microsoft Access)
database is assumed. If the file name is "ODBC", then "ODBC" is
returned as the type. Otherwise, a dialog appears listing the
other valid DAO database types.
Syntaxpublic static int iDatabaseType(
CGXNETCore gxNetShared,
string name,
ref string type
)
Public Shared Function iDatabaseType (
gxNetShared As CGXNETCore,
name As String,
ByRef type As String
) As Integer
public:
static int iDatabaseType(
CGXNETCore^ gxNetShared,
String^ name,
String^% type
)
static member iDatabaseType :
gxNetShared : CGXNETCore *
name : string *
type : string byref -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - name
- Type: SystemString
File Name - type
- Type: SystemString
Database type (returned)
Return Value
Type:
Int32
0 - OK
-1 - Cancel
terminates on error
See Also