共用方式為


Creating a SQL Native Client OLE DB Provider Application

Creating a SQL Native Client OLE DB provider application involves these steps:

  1. Establishing a connection to a data source.
  2. Executing a command.
  3. Processing the results.
ms131651.note(zh-tw,SQL.90).gif附註:
When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time. Avoid storing credentials in a file. If you must persist credentials, you should encrypt them with the Win32 cryptoAPI.

請參閱

概念

SQL Native Client (OLE DB)

說明及資訊

取得 SQL Server 2005 協助