Parameter
|
Type
|
Description
|
INPUT
|
||
tmHandle
|
long
|
A handle for use with the tm_trace() method.
|
dam_hdbc
|
long
|
The OpenAccess SDK SQL engine connection handle.
|
sDataSourceName
|
String
|
The name of the data source to which the connection is being made.
|
sUserName
|
String
|
User name passed in by the client.
|
sPassword
|
String
|
Password typed in by the client.
|
sCurrentCatalog
|
String
|
Name of the catalog to use. The value can be specified by the client or in the DataSourceCurrentCatalog attribute
|
sIPProperties
|
String
|
Data source specific information that is set in the DataSourceIPProperties attribute.
|
sIPCustomProperties
|
String
|
Custom properties passed in by the client. The keywords that can appear in this string are based on the setting of the DataSourceIPCustomProperties attribute.
|
RETURN
|
||
int
|
DAM_SUCCESS – on success
DAM_FAILURE – on failure
Note: The default value is DAM_SUCCESS. If no return value is specified, the OpenAccess SDK SQL engine assumes that the return value is DAM_SUCCESS. The IP does not generate a DAM_FAILURE unless specified.
|