Samples
MS DTC Samples
The following samples illustrate using Microsoft® SQL Server™ 2000 with Microsoft Distributed Transaction Coordinator (MS DTC), using various technologies.
Sample | Description |
---|---|
MS DTC Dblib Sample | This program demonstrates how to use MS DTC in C++ using DB-Library. |
MS DTC ODBC Sample | This program demonstrates how to use MS DTC in C++ using ODBC. |
MS DTC T-SQL Sample | This sample demonstrates how to use MS DTC in a Transact-SQL script. |
To install the samples during SQL Server installation
- On the Setup Type page, select Custom.
- On the Select Components page, under Components, select Code Samples.
Samples are installed as a self-extracting file. To extract the samples, double-click Unzip_msdtc.exe, located at C:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\Msdtc.
Prerequisites
C samples require Microsoft Visual C++ version 6.0.