 | CDHiGetTemplateBlob 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
Syntaxpublic static int iGetTemplateBlob(
CGXNETCore gxNetShared,
CDB db,
string templ,
ref int imp_type
)
public static int iGetTemplateBlob(
CGXNETCore gxNetShared,
CDB db,
string templ,
ref int imp_type
)
Public Shared Function iGetTemplateBlob (
gxNetShared As CGXNETCore,
db As CDB,
templ As String,
ByRef imp_type As Integer
) As Integer
Public Shared Function iGetTemplateBlob (
gxNetShared As CGXNETCore,
db As CDB,
templ As String,
ByRef imp_type As Integer
) As Integer
public:
static int iGetTemplateBlob(
CGXNETCore^ gxNetShared,
CDB^ db,
String^ templ,
int% imp_type
)
public:
static int iGetTemplateBlob(
CGXNETCore^ gxNetShared,
CDB^ db,
String^ templ,
int% imp_type
)
static member iGetTemplateBlob :
gxNetShared : CGXNETCore *
db : CDB *
templ : string *
imp_type : int byref -> int
static member iGetTemplateBlob :
gxNetShared : CGXNETCore *
db : CDB *
templ : string *
imp_type : int byref -> int
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