Click or drag to resize
CDHiGetTemplateBlob Method
Retrieve the import template from the database.

Available since Oasis montaj version: 6.0
License: Available to specially licensed modules.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The template can 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 If no template blob exists, templ
Syntax
public static int iGetTemplateBlob(
	CGXNETCore gxNetShared,
	CDB db,
	string templ,
	ref int imp_type
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
DB Handle
templ
Type: SystemString
Name of template file to extract to.
imp_type
Type: SystemInt32
The stored import template type <define>DH_DATA</define>

Return Value

Type: Int32
0: No template stored in the database 1: Template retrieved and written to a file.
See Also