SQL-NS Samples

SQL-NS

SQL-NS

SQL-NS Samples

Microsoft® SQL Server™ 2000 includes the following SQL-NS to introduce you to using SQL Namespace (SQL-NS):

Sample Description
SQL-NS Sample Program Using Visual Basic This sample Microsoft Visual Basic® application demonstrates how to use SQL-NS to display the Properties dialog box for the pubs database.
SQL-NS Sample Program Using C++ This sample Microsoft Visual C++® application demonstrates how to use SQL-NS to display the Properties dialog box for the pubs database.
SQL Namespace Sample Browser This sample Microsoft Visual Basic application demonstrates how to view the SQL Namespace object hierarchy, and view and execute the commands available for each object.
SQL Namespace Dump Tree This sample console application demonstrates how to display the objects in the SQL Namespace tree for the default instance of Microsoft SQL Server™ 2000 running on the local computer.
To install the samples during SQL Server installation
  1. On the Setup Type page, select Custom.

  2. 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_sqlns.exe, located at
C:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\Sqlns.

Prerequisites

C++ samples require Microsoft Visual C++ version 6.0. Visual Basic samples require Microsoft Visual Basic version 6.0.

See Also

Samples