| CDUImportAllADO Method |
Import an entire external database 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. For group storage, the table names are imported "as is". For line storage,
if the table names are valid Geosoft line names, they are used as is.
Otherwise, line names will be created with type LINE_NORMAL, starting at
L0 and incrementing by 10 (L10, L20 etc.)
2. If the line exists, the data will overwrite the existing data.
3. All tables and fields will be imported.
4. If connection string is of type "FILENAME=..." the connection will attempt to resolve
it as a file database. (see also ODBCFileConnect_GUI)
Syntax public static void ImportAllADO(
CDB oDB1,
string str2,
int i3
)
Public Shared Sub ImportAllADO (
oDB1 As CDB,
str2 As String,
i3 As Integer
)
public:
static void ImportAllADO(
CDB^ oDB1,
String^ str2,
int i3
)
static member ImportAllADO :
oDB1 : CDB *
str2 : string *
i3 : int -> unit
Parameters
- oDB1
- Type: GeoEngine.Core.GXNetCDB
Database - str2
- Type: SystemString
import database connection string - i3
- Type: SystemInt32
See DU_STORAGEConstant
See Also