Click or drag to resize

CDHiGetTemplateBlobNoSourceResolve Method

Retrieve the import template from the database.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static int iGetTemplateBlobNoSourceResolve(
	CGXNETCore gxNetShared,
	CDB db,
	string templ,
	ref int imp_type
)

public static int iGetTemplateBlobNoSourceResolve(
	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.
Remarks
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
See Also