![](../icons/Help.png) | CGUIIiImportDrillDatabaseADO2 Method (CGXNETCore, String, String, Int32, String, Int32, Int32, CREG) |
Same as iImportDrillDatabaseADO_GUI, but template name is returned.
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
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"
Syntaxpublic static int IiImportDrillDatabaseADO2(
CGXNETCore gxNetShared,
string connect,
ref string temp,
int temp_size,
ref string table,
int table_size,
ref int type,
CREG reg
)
Public Shared Function IiImportDrillDatabaseADO2 (
gxNetShared As CGXNETCore,
connect As String,
ByRef temp As String,
temp_size As Integer,
ByRef table As String,
table_size As Integer,
ByRef type As Integer,
reg As CREG
) As Integer
public:
static int IiImportDrillDatabaseADO2(
CGXNETCore^ gxNetShared,
String^ connect,
String^% temp,
int temp_size,
String^% table,
int table_size,
int% type,
CREG^ reg
)
static member IiImportDrillDatabaseADO2 :
gxNetShared : CGXNETCore *
connect : string *
temp : string byref *
temp_size : int *
table : string byref *
table_size : int *
type : int byref *
reg : CREG -> 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 (if left blank, the created template name is returned) - temp_size
- Type: SystemInt32
Size of the template name string - table
- Type: SystemString
Name of table - table_size
- Type: SystemInt32
Size of table name string - type
- Type: SystemInt32
Type of import returned <define>DH_DATA</define> - reg
- Type: GeoEngine.Core.GXNetXCREG
Drill Hole Object REG handle
Return Value
Type:
Int32
0 - OK
-1 - Cancel
See Also