|  | 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: 2025.1.0.25
 Syntax
Syntaxpublic 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
)
Public Shared Function IiImportDrillDatabaseADO2 ( 
	connect As String,
	ByRef temp As String,
	ByRef table As String,
	ByRef type As Integer,
	reg As CREG
) As Integer
Public Shared Function IiImportDrillDatabaseADO2 ( 
	connect As String,
	ByRef temp As String,
	ByRef table As String,
	ByRef type As Integer,
	reg As CREG
) As Integer
public:
static int IiImportDrillDatabaseADO2(
	String^ connect, 
	String^% temp, 
	String^% table, 
	int% type, 
	CREG^ reg
)
public:
static int IiImportDrillDatabaseADO2(
	String^ connect, 
	String^% temp, 
	String^% table, 
	int% type, 
	CREG^ reg
)
static member IiImportDrillDatabaseADO2 : 
        connect : string * 
        temp : string byref * 
        table : string byref * 
        type : int byref * 
        reg : CREG -> int 
static member IiImportDrillDatabaseADO2 : 
        connect : string * 
        temp : string byref * 
        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 (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
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
See Also