 | CDUImportADO Method |
Import an external database table into a group using ADO.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void ImportADO(
CDB db,
string connect,
string table,
string templ,
string line
)
public static void ImportADO(
CDB db,
string connect,
string table,
string templ,
string line
)
Public Shared Sub ImportADO (
db As CDB,
connect As String,
table As String,
templ As String,
line As String
)
Public Shared Sub ImportADO (
db As CDB,
connect As String,
table As String,
templ As String,
line As String
)
public:
static void ImportADO(
CDB^ db,
String^ connect,
String^ table,
String^ templ,
String^ line
)
public:
static void ImportADO(
CDB^ db,
String^ connect,
String^ table,
String^ templ,
String^ line
)
static member ImportADO :
db : CDB *
connect : string *
table : string *
templ : string *
line : string -> unit
static member ImportADO :
db : CDB *
connect : string *
table : string *
templ : string *
line : string -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - connect
- Type: SystemString
Import database connection string (overrides template value) - table
- Type: SystemString
Imported table in database file (overrides template value) - templ
- Type: SystemString
Import template name - line
- Type: SystemString
Oasis montaj line name to create (overrides template value)
Remarks
1. The import template can be in the local directory or the GEOSOFT
directory.
2. Only the import template must be specified. The database connection string,
the database table and Oasis line name are normally taken from the template
file itself, but if these values are provided, they will override those found in the template.
3. If the line already exists, the data will overwrite the existing data.
See Also