Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 1005 Bytes

File metadata and controls

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