 | CDHSetTemplateBlob Method |
Store the import template to the database.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void SetTemplateBlob(
CGXNETCore gxNetShared,
CDB db,
string templ,
int imp_type
)
public static void SetTemplateBlob(
CGXNETCore gxNetShared,
CDB db,
string templ,
int imp_type
)
Public Shared Sub SetTemplateBlob (
gxNetShared As CGXNETCore,
db As CDB,
templ As String,
imp_type As Integer
)
Public Shared Sub SetTemplateBlob (
gxNetShared As CGXNETCore,
db As CDB,
templ As String,
imp_type As Integer
)
public:
static void SetTemplateBlob(
CGXNETCore^ gxNetShared,
CDB^ db,
String^ templ,
int imp_type
)
public:
static void SetTemplateBlob(
CGXNETCore^ gxNetShared,
CDB^ db,
String^ templ,
int imp_type
)
static member SetTemplateBlob :
gxNetShared : CGXNETCore *
db : CDB *
templ : string *
imp_type : int -> unit
static member SetTemplateBlob :
gxNetShared : CGXNETCore *
db : CDB *
templ : string *
imp_type : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
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