 | CGUIiImportDrillDatabaseADO Method (String, String, String, Int32, CREG) |
Generate a template file for importing drill holes.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iImportDrillDatabaseADO(
string connect,
string temp,
ref string table,
ref int type,
CREG reg
)
public static int iImportDrillDatabaseADO(
string connect,
string temp,
ref string table,
ref int type,
CREG reg
)
Public Shared Function iImportDrillDatabaseADO (
connect As String,
temp As String,
ByRef table As String,
ByRef type As Integer,
reg As CREG
) As Integer
Public Shared Function iImportDrillDatabaseADO (
connect As String,
temp As String,
ByRef table As String,
ByRef type As Integer,
reg As CREG
) As Integer
public:
static int iImportDrillDatabaseADO(
String^ connect,
String^ temp,
String^% table,
int% type,
CREG^ reg
)
public:
static int iImportDrillDatabaseADO(
String^ connect,
String^ temp,
String^% table,
int% type,
CREG^ reg
)
static member iImportDrillDatabaseADO :
connect : string *
temp : string *
table : string byref *
type : int byref *
reg : CREG -> int
static member iImportDrillDatabaseADO :
connect : string *
temp : string *
table : string byref *
type : int byref *
reg : CREG -> 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 - type
- Type: SystemInt32
Type of import returned <define>DH_DATA</define> - reg
- Type: GeoEngine.Core.GXNetCREG
Drill Hole Object REG handle
Return Value
Type:
Int32
0 - OK
-1 - Cancel
Remarks
This is an improved version of ImportDrillDatabase_GUI using the
new ADO technology, as opposed to DAO. Use in conjunction with
ImportADO_DU. See also ImportDatabaseADO_GUI.
See Also