![](../icons/Help.png) | CDHSetTemplateBlob Method |
Store the import template to the database.
Available since Oasis montaj version: 6.0
License: Available to specially licensed modules.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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
Syntaxpublic 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:
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
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>
See Also