| CGUIiDatabaseType Method (CGXNETCore, String, String, Int32) |
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.
Syntax public static int iDatabaseType(
CGXNETCore gxNetShared,
string name,
ref string type,
int size
)
Public Shared Function iDatabaseType (
gxNetShared As CGXNETCore,
name As String,
ByRef type As String,
size As Integer
) As Integer
public:
static int iDatabaseType(
CGXNETCore^ gxNetShared,
String^ name,
String^% type,
int size
)
static member iDatabaseType :
gxNetShared : CGXNETCore *
name : string *
type : string byref *
size : int -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - name
- Type: SystemString
File Name - type
- Type: SystemString
Database type (returned) - size
- Type: SystemInt32
Size of type string
Return Value
Type:
Int32
0 - OK
-1 - Cancel
terminates on error
See Also