Re: Using DBSERVERENUM with C++
From: Alan Brewer [MSFT] (alanbr_at_microsoft.com)
Date: 03/17/04
- Next message: Alan Brewer [MSFT]: "Re: Installing MSDE onto D: Drive"
- Previous message: Allan: "Re: Using DBSERVERENUM with C++"
- In reply to: Allan: "Re: Using DBSERVERENUM with C++"
- Next in thread: Allan: "Re: Using DBSERVERENUM with C++"
- Reply: Allan: "Re: Using DBSERVERENUM with C++"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 09:58:28 -0800
DBServerEnum is part of the DB-library API, and I would not recommend using
that API in anything other than maintaining existing DB-Library
applications. Even with existing DB-Library applications I would rewrite
them to use another data access API if I were doing anything other than very
light maintenance. The following warning has been in every SQL Server 2000
service pack readme, and in each update to the SQL Server 2000 Books Online:
Warning While the DB-Library API is still supported in Microsoft SQL Server
2000, no future versions of SQL Server will include the files needed to do
programming work on applications that use this API. Connections from
existing applications written using DB-Library will still be supported in
the next version of SQL Server, but this support will also be dropped in a
future release. When writing new applications, avoid using DB-Library. When
modifying existing applications, you are strongly encouraged to remove
dependencies on DB-Library. Instead of DB-Library, you can use Microsoft
ActiveX® Data Objects (ADO), OLE DB, or ODBC to access data in SQL Server.
Jim's suggestion for using DMO is good. Also, some of the other APIs, such
as the ODBC SQLBrowseConnect function, could offer the functionality you
need.
-- Alan Brewer [MSFT] Lead Programming Writer SQL Server Documentation Team This posting is provided "AS IS" with no warranties, and confers no rights
- Next message: Alan Brewer [MSFT]: "Re: Installing MSDE onto D: Drive"
- Previous message: Allan: "Re: Using DBSERVERENUM with C++"
- In reply to: Allan: "Re: Using DBSERVERENUM with C++"
- Next in thread: Allan: "Re: Using DBSERVERENUM with C++"
- Reply: Allan: "Re: Using DBSERVERENUM with C++"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|