 | CDHSetTemplateBlob Method |
Store the import template to the database.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void SetTemplateBlob(
CDB db,
string templ,
int imp_type
)
public static void SetTemplateBlob(
CDB db,
string templ,
int imp_type
)
Public Shared Sub SetTemplateBlob (
db As CDB,
templ As String,
imp_type As Integer
)
Public Shared Sub SetTemplateBlob (
db As CDB,
templ As String,
imp_type As Integer
)
public:
static void SetTemplateBlob(
CDB^ db,
String^ templ,
int imp_type
)
public:
static void SetTemplateBlob(
CDB^ db,
String^ templ,
int imp_type
)
static member SetTemplateBlob :
db : CDB *
templ : string *
imp_type : int -> unit
static member SetTemplateBlob :
db : CDB *
templ : string *
imp_type : int -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
DB Handle - templ
- Type: SystemString
Import template name - imp_type
- Type: SystemInt32
<define>DH_DATA</define>
Remarks
The template can later be retrieved in order to refresh the
database with a call to the DHIMPORT.GX.
The import types correspond to the DHIMPORT.IMPTYPE variable:
0: ASCII, 1: Database/XLS, 2: ODBC
See Also