Parameter
|
Type
|
Description
|
INPUT
|
|
|
psDataSourceName
|
String
|
Logical name of the database the user specified when connecting. For example, DEMO.
|
psUid
|
String
|
User ID
|
psPwd
|
String
|
Password
|
sDataSourceCurrentCatalog
|
String
|
Current catalog if specified by the client.
|
psDataSourceIPProperties
|
String
|
Value of the DataSourceIPProperties configured for this data source. The IP can use this attribute for its own purpose.
|
psDataSourceIPCustomProperties
|
String
|
Custom connect string portion as passed in by the client. This can be parsed to retrieve any custom connection level options. |
RETURN
|
|
|
|
int
|
OADS_SUCCESS –connected
OADS_ERROR – error occurred during connection. A specific error is returned when sqlipError is called.
|