Returns the result of executing the ICONV() or OCONV() functions on an expression list in the database, synchronously or asynchronously.
* hasError
(only C)
|
BOOL*
|
|
Only in C functions: bool pointer used in the C functions that indicates the return of the function is a system error and must be communicated to the Linkar SERVER
|
* callback
|
OperationAsyncCallbackString
OperationAsyncCallbackLkData
ArrayList
|
|
Return type in asynchronous methods. For further information see ASYNCHRONOUS CALLS
|
* credentialsOptions
|
CredentialsOptions
char*
|
|
Object that defines the necessary data to access the database: Username, Password, EntryPoint, Language, FreeText. In the C Direct Functions, it is a char*
|
* connectionInfo
(only C)
|
char*
|
|
Only in C Persistent Functions: string that is returned by the Login function and contains all the necessary connection data. This data is necessary in persistent functions.
|
* code
|
string
char*
|
|
The conversion code - subject to DBMS-specifications.
|
* expression
|
string
char*
|
|
The data or expression to convert. This can have MV marks, in which case the conversion will be executed on each value.
|
* conversionOptions
|
enum CONVERSION_TYPE
char
|
|
Indicates the conversion type, input or output: Input=ICONV(); OUTPUT=OCONV().
|
outputStringType
|
enum DataFormat.TYPE
typedef uint8_t DataFormatTYPE;
|
DataFormat.TYPE.MV
DataFormatTYPE
|
Indicates format of data returned : MV, XML or JSON.
|
customVars
|
string
char*
|
|
This is a free text field to send in the transaction. If not empty, subroutine SUB.LK.MAIN.CONTROL.CUSTOM will be called. Add custom code to that subroutine to define special behaviours for some or all transactions.
|
receiveTimeout
|
Numeric
|
-1
0
|
This is the maximum time in seconds that the client will wait for a response. Use 0 for no timeout. This is a function-specific override : -1 in a Persistent function defaults back to the timeout defined in the LinkarClt constructor.
|
This function can generate exceptions.
In COM assemblies, a return value of type String will contain an error message if an error occurs when performing the operation.
Conversion. Persistent Functions
string result = linkarclt.Conversion_Text(conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout);
LkData lkdata = linkarclt.Conversion(conversionType, expression, "D2-", customVars, receiveTimeout);
|
|
Dim result As String = _linkarclt.Conversion_Text(conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout)
Dim _lkdata As LkData = _linkarclt.Conversion(conversionType, expression, "D2-", customVars, receiveTimeout)
|
|
String result = linkarclt.Conversion_Text(conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout);
LkData lkdata = linkarclt.Conversion(conversionType, expression, "D2-", customVars, receiveTimeout);
|
|
char* result = LkConversion(connectionInfo, &hasError, "D2-", expresion, conversionOptions, outputStringType, customVars, receiveTimeout);
|
|
Conversion. Direct Functions
string result = LinkarClt.Conversion_Text(credentialsOptions, conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout);
LkData lkdata = LinkarClt.Conversion(credentialsOptions, conversionType, expression, "D2-", customVars, receiveTimeout);
|
|
Dim result As String = LinkarClt.Conversion_Text(_credentialsOptions, conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout)
Dim _lkdata As LkData = LinkarClt.Conversion(_credentialsOptions, conversionType, expression, "D2-", customVars, receiveTimeout)
|
|
String result = LinkarClt.Conversion_Text(credentialsOptions, conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout);
LkData lkdata = LinkarClt.Conversion(credentialsOptions, conversionType, expression, "D2-", customVars, receiveTimeout);
|
|
char* result = LkConversionD(credentialsOptions, &hasError, "D2-", expresion, conversionOptions, outputStringType, customVars, receiveTimeout);
|
|
ConversionAsync. Persistent Functions
linkarclt.ConversionAsync_Text(callback, conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout);
linkarclt.ConversionAsync(callback, conversionType, expression, "D2-", customVars, receiveTimeout);
|
|
_linkarclt.ConversionAsync_Text(callback, conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout)
_linkarclt.ConversionAsync(callback, conversionType, expression, "D2-", customVars, receiveTimeout)
|
|
linkarclt.ConversionAsync_Text(conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout);
linkarclt.ConversionAsync(conversionType, expression, "D2-", customVars, receiveTimeout);
|
|
ConversionAsync. Direct Functions
LinkarClt.ConversionAsync_Text(callback, credentialsOptions, conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout);
LinkarClt.ConversionAsync(callback, credentialsOptions, conversionType, expression, code, customVars, receiveTimeout);
|
|
LinkarClt.ConversionAsync_Text(callback, _credentialsOptions, conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout)
LinkarClt.ConversionAsync(callback, _credentialsOptions, conversionType, expression, code, customVars, receiveTimeout)
|
|
LinkarClt.ConversionAsync_Text(lklisteners, credentialsOptions, conversionType, expression, "D2-", outputStringType, customVars, receiveTimeout);
LinkarClt.ConversionAsync(lklisteners, credentialsOptions, conversionType, expression, "D2-", customVars, receiveTimeout);
|
|