| CDHiGetTemplateBlob Method |
Retrieve the import template from the database.
Available since Oasis montaj version: 6.0.0
License: Available to specially licensed modules.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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(
CDB oDB1,
string str2,
ref int i3
)
Public Shared Function iGetTemplateBlob (
oDB1 As CDB,
str2 As String,
ByRef i3 As Integer
) As Integer
public:
static int iGetTemplateBlob(
CDB^ oDB1,
String^ str2,
int% i3
)
static member iGetTemplateBlob :
oDB1 : CDB *
str2 : string *
i3 : int byref -> int
Parameters
- oDB1
- Type: GeoEngine.Core.GXNetCDB
DB Handle - str2
- Type: SystemString
Name of template file to extract to. - i3
- Type: SystemInt32
The stored import template type DH_DATAConstant
Return Value
Type:
Int32
0: No template stored in the database
1: Template retrieved and written to a file.
See Also