Click or drag to resize

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
Syntax
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
)

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