Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 1005 Bytes

sqlremovedefaultdatasource-function.md

File metadata and controls

27 lines (25 loc) · 1005 Bytes
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords apilocation apiname apitype
SQLRemoveDefaultDataSource Function
SQLRemoveDefaultDataSource Function
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
SQLRemoveDefaultDataSource
SQLRemoveDefaultDataSource function [ODBC]
sqlsrv32.dll
SQLRemoveDefaultDataSource
dllExport

SQLRemoveDefaultDataSource Function

Conformance
Version Introduced: ODBC 1.0, Deprecated

Summary
In ODBC 3.0, the SQLRemoveDefaultDataSource function has been replaced by a call to SQLConfigDataSource with an fRequest argument of ODBC_REMOVE_DEFAULT_DSN. If an ODBC 2*.x* installation program calls this function, the ODBC installer will map it to the following SQLConfigDataSource call:

SQLConfigDataSource (NULL, ODBC_REMOVE_DEFAULT_DSN, NULL, NULL)