Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 2.12 KB

File metadata and controls

26 lines (25 loc) · 2.12 KB
description ODBC Service Provider Interface Summary
title ODBC Service Provider Interface Summary | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic reference
ms.assetid ace6085b-355b-435b-8734-503fc3c12ec2
author David-Engel
ms.author v-daenge

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.