 | CGUIiConfigureConnection Method (String, Int32, String, Int32, String, Int32) |
Configures connection string from ODBC database data.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iConfigureConnection(
ref string connect,
int connect_size,
ref string temp,
int temp_size,
ref string table,
int table_size
)
public static int iConfigureConnection(
ref string connect,
int connect_size,
ref string temp,
int temp_size,
ref string table,
int table_size
)
Public Shared Function iConfigureConnection (
ByRef connect As String,
connect_size As Integer,
ByRef temp As String,
temp_size As Integer,
ByRef table As String,
table_size As Integer
) As Integer
Public Shared Function iConfigureConnection (
ByRef connect As String,
connect_size As Integer,
ByRef temp As String,
temp_size As Integer,
ByRef table As String,
table_size As Integer
) As Integer
public:
static int iConfigureConnection(
String^% connect,
int connect_size,
String^% temp,
int temp_size,
String^% table,
int table_size
)
public:
static int iConfigureConnection(
String^% connect,
int connect_size,
String^% temp,
int temp_size,
String^% table,
int table_size
)
static member iConfigureConnection :
connect : string byref *
connect_size : int *
temp : string byref *
temp_size : int *
table : string byref *
table_size : int -> int
static member iConfigureConnection :
connect : string byref *
connect_size : int *
temp : string byref *
temp_size : int *
table : string byref *
table_size : int -> int
Parameters
- connect
- Type: SystemString
Connection string - connect_size
- Type: SystemInt32
Size of connection string returned - temp
- Type: SystemString
Template to make - temp_size
- Type: SystemInt32
Size of template string returned - table
- Type: SystemString
Name of table - table_size
- Type: SystemInt32
Size of table name string
Return Value
Type:
Int32
0 - OK
-1 - Cancel
Remarks
See Also