Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 1.97 KB

File metadata and controls

22 lines (21 loc) · 1.97 KB
title ODBC Service Provider Interface Summary
description ODBC Service Provider Interface Summary
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference

ODBC Service Provider Interface Summary

The following table describes ODBC Service Provider interface functions. For more information about the syntax and semantics for each function, see ODBC Service Provider Interface (SPI) Reference.

Function name Purpose
SQLSetConnectAttrForDbcInfo Same as SQLSetConnectAttr, but it sets the attribute on the connection information token instead of on the connection handle.
SQLSetDriverConnectInfo Sets the connection string into the connection info token for an application's SQLDriverConnect call.
SQLSetConnectInfo Sets the data source, user ID, and password into the connection info token for an application's SQLConnect call.
SQLGetPoolID Retrieves the pool ID.
SQLRateConnection Determines if a driver can reuse an existing connection in the connection pool.
SQLPoolConnect Create a new connection if no connection in the pool can be reused.
SQLCleanupConnectionPoolID Informs a driver that a pool ID was timed out.