Components of SQL Native Client

SQL Native Client contains the following components:

Component

Description

sqlncli.dll

The dynamic-link library (DLL) file that contains all of the SQL Native Client functionality. This includes the SQL Native Client OLE DB provider and the SQL Native Client ODBC driver.

sqlnclir.rll

The accompanying resource file for the SQL Native Client library.

sqlncli.chm

The Data Source Wizard help file that documents how to create a SQL Server data source using the SQL Native Client ODBC driver or the SQL Native Client OLE DB provider.

sqlncli.h

The SQL Native Client header file that contains all of the new definitions needed in order to use SQL Native Client. This header file replaces both the odbcss.h and the sqloledb.h header files.

ms131403.note(zh-cn,SQL.90).gif注意:

You cannot reference sqlncli.h and odbcss.h in the same program, but you can reference sqlncli.h and sqloledb.h in same program as long as sqloledb.h is defined first.

sqlncli.lib

The library file needed to directly call the bcp utility functions that are part of the SQL Native Client ODBC driver.

ms131403.note(zh-cn,SQL.90).gif注意:

If you do reference the sqlncli.lib file in your programming code, you need to make sure that the sqlncli.dll file is in your system path, and in the system path of the users that make use of your application.

请参阅

其他资源

Building Applications with SQL Native Client

帮助和信息

获取 SQL Server 2005 帮助