Parameter
|
Type
|
Description
|
IN
|
|
|
tmHandle
|
int64
|
A handle for use with the tm_trace() method.
|
dam_hdbc
|
int64
|
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 passed 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.
|