The following samples illustrate Microsoft® SQL Server™ 2000 SQL-SCM development.
| Sample | Description |
|---|---|
| SCMControl | C++ Sample. Illustrates using SQL Service Control Manager (SQL-SCM) to query and change the execution state of services on a local computer. |
| SCMStatus | C++ Sample. Illustrates using SQL Service Control Manager (SQL-SCM) w95scm.dll to query the execution state of services on a local computer. |
Samples are installed as a self-extracting file. To extract the samples, double-click Unzip_ado.misc, located at
C:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\Misc.
C and C++ samples require Microsoft Visual C++ version 6.0.