version 2004
ODBC_SQLBrowseConnect (connectionID; inConnectionStr; outConnectionStr) Longint
Parameter | Type | Description | |
connectionID | Longint | Connection ID | |
inConnectionStr | Text | Browse request connection string | |
outConnectionStr | Text | Browse result connection string | |
Function result | Longint | Returns the result of the MS ODBC API function | |
SQLBrowseConnect |
Description
The ODBC_SQLBrowseConnect command supports an iterative method of discovering and enumerating the attribute values required to connect to a data source. Each call to this command returns successive levels of attributes and attribute values. When all levels have been enumerated, a connection to the data source is completed and a complete connection string is returned.
connectionID is a valid connection ID returned by ODBC_SQLAllocConnect.
inConnectionStr is the browse request connection string.
outConnectionStr is the browse result connection string.
For more information, please see the SQLBrowseConnect function in the MS ODBC API at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqlbrowseconnect.asp.
Function Results
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_NEED_DATA, SQL_ERROR, or SQL_INVALID_HANDLE.