| CDUImportADO Method |
Import an external database table into a group using ADO.
Available since Oasis montaj version: 5.0.8
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
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.
Syntax public static void ImportADO(
CDB oDB1,
string str2,
string str3,
string str4,
string str5
)
Public Shared Sub ImportADO (
oDB1 As CDB,
str2 As String,
str3 As String,
str4 As String,
str5 As String
)
public:
static void ImportADO(
CDB^ oDB1,
String^ str2,
String^ str3,
String^ str4,
String^ str5
)
static member ImportADO :
oDB1 : CDB *
str2 : string *
str3 : string *
str4 : string *
str5 : string -> unit
Parameters
- oDB1
- Type: GeoEngine.Core.GXNetCDB
Database - str2
- Type: SystemString
import database connection string (overrides template value) - str3
- Type: SystemString
imported table in database file (overrides template value) - str4
- Type: SystemString
import template name - str5
- Type: SystemString
Oasis montaj line name to create (overrides template value)
See Also