Click or drag to resize

CGUIIiImportDrillDatabaseADO2 Method (String, String, String, Int32, CREG)

Same as iImportDrillDatabaseADO_GUI, but template name is returned.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int IiImportDrillDatabaseADO2(
	string connect,
	ref string temp,
	ref string table,
	ref int type,
	CREG reg
)

public static int IiImportDrillDatabaseADO2(
	string connect,
	ref string temp,
	ref string table,
	ref int type,
	CREG reg
)

Parameters

connect
Type: SystemString
External database connection string (Blank for OLEDB Wizard)
temp
Type: SystemString
Template to make (if left blank, the created template name is returned)
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
If it is not defined on input, the template name is set to be the Wholeplot table name; e.g. "HOLESURVEY.i4" for "Project_HOLESURVEY"
See Also