Skip to content

Latest commit

 

History

History
33 lines (31 loc) · 1.15 KB

File metadata and controls

33 lines (31 loc) · 1.15 KB
description SQLRemoveDefaultDataSource Function
title SQLRemoveDefaultDataSource Function | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic reference
apiname
SQLRemoveDefaultDataSource
apilocation
sqlsrv32.dll
apitype dllExport
f1_keywords
SQLRemoveDefaultDataSource
helpviewer_keywords
SQLRemoveDefaultDataSource function [ODBC]
ms.assetid db803266-57df-4864-a41b-901247549c1f
author David-Engel
ms.author v-davidengel

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)