![](../icons/Help.png) | CGUIiImportDrillDatabaseADO Method (CGXNETCore, String, String, String, Int32, Int32, CREG) |
Generate a template file for importing drill holes.
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
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.
Syntaxpublic static int iImportDrillDatabaseADO(
CGXNETCore gxNetShared,
string connect,
string temp,
ref string table,
int table_size,
ref int type,
CREG reg
)
Public Shared Function iImportDrillDatabaseADO (
gxNetShared As CGXNETCore,
connect As String,
temp As String,
ByRef table As String,
table_size As Integer,
ByRef type As Integer,
reg As CREG
) As Integer
public:
static int iImportDrillDatabaseADO(
CGXNETCore^ gxNetShared,
String^ connect,
String^ temp,
String^% table,
int table_size,
int% type,
CREG^ reg
)
static member iImportDrillDatabaseADO :
gxNetShared : CGXNETCore *
connect : string *
temp : string *
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 - 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