![](../icons/Help.png) | CGUIiImportChemDatabaseADO Method (CGXNETCore, String, String, String, Int32) |
Improved template creation for importing geochem database (ADO).
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
This is an improved version of ImportChemDatabase_GUI using the
new ADO technology, as opposed to DAO. Use in conjuction with
ImportADO_DU. See also ImportDatabaseADO_GUI.
Syntaxpublic static int iImportChemDatabaseADO(
CGXNETCore gxNetShared,
string connect,
string temp,
ref string table,
int type
)
Public Shared Function iImportChemDatabaseADO (
gxNetShared As CGXNETCore,
connect As String,
temp As String,
ByRef table As String,
type As Integer
) As Integer
public:
static int iImportChemDatabaseADO(
CGXNETCore^ gxNetShared,
String^ connect,
String^ temp,
String^% table,
int type
)
static member iImportChemDatabaseADO :
gxNetShared : CGXNETCore *
connect : string *
temp : string *
table : string byref *
type : int -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - connect
- Type: SystemString
External database connection string (Blank for OLEDB Wizard) - temp
- Type: SystemString
Template to make - table
- Type: SystemString
Name of table - type
- Type: SystemInt32
<define>IMPCH_TYPE</define>
Return Value
Type:
Int32
0 - OK
-1 - Cancel
See Also