 | CGUIiImportChemDatabaseADO Method (String, String, String, Int32, Int32) |
Improved template creation for importing geochem database (ADO).
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iImportChemDatabaseADO(
string connect,
string temp,
ref string table,
int table_size,
int type
)
public static int iImportChemDatabaseADO(
string connect,
string temp,
ref string table,
int table_size,
int type
)
Public Shared Function iImportChemDatabaseADO (
connect As String,
temp As String,
ByRef table As String,
table_size As Integer,
type As Integer
) As Integer
Public Shared Function iImportChemDatabaseADO (
connect As String,
temp As String,
ByRef table As String,
table_size As Integer,
type As Integer
) As Integer
public:
static int iImportChemDatabaseADO(
String^ connect,
String^ temp,
String^% table,
int table_size,
int type
)
public:
static int iImportChemDatabaseADO(
String^ connect,
String^ temp,
String^% table,
int table_size,
int type
)
static member iImportChemDatabaseADO :
connect : string *
temp : string *
table : string byref *
table_size : int *
type : int -> int
static member iImportChemDatabaseADO :
connect : string *
temp : string *
table : string byref *
table_size : int *
type : int -> int
Parameters
- connect
- Type: SystemString
External database connection string (Blank for OLEDB Wizard) - temp
- Type: SystemString
Template to make - table
- Type: SystemString
Name of table - table_size
- Type: SystemInt32
Size of table name string - type
- Type: SystemInt32
<define>IMPCH_TYPE</define>
Return Value
Type:
Int32
0 - OK
-1 - Cancel
Remarks
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.
See Also